Permalink
Browse files

used single quotes and tabs instead of spaces

Signed-off-by: Buddhima Wijeweera <buddhimawijeweera@yahoo.com>
  • Loading branch information...
1 parent 0bd1796 commit 74b3027f0d336fa8d429ac52d76505c32c59cdfe @Buddhima committed Apr 1, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 libraries/joomla/html/editor.php
@@ -426,7 +426,7 @@ public function setContent($editor, $html)
*
* @return array
*
- * @throws InvalidArgumentException If plugin required does not exists
+ * @throws InvalidArgumentException If plugin required does not exists
*
* @since 11.1
*/
@@ -456,13 +456,13 @@ public function getButtons($editor, $buttons = true)
{
$plugin = new $className($this, (array) $plugin);
}
- else
- {
- throw new InvalidArgumentException("Class does not exists "+$className);
- }
+ else
+ {
+ throw new InvalidArgumentException('Class does not exists ' . $className);
+ }
// Try to authenticate
- if ($temp = $plugin->onDisplay($editor, $this->asset, $this->author))
+ if ($temp = $plugin->onDisplay($editor, $this->asset, $this->author))
{
$result[] = $temp;
}

0 comments on commit 74b3027

Please sign in to comment.