@@ -29,9 +29,9 @@ |
||
| 29 | 29 | |
| 30 | 30 | while ($exception) { |
| 31 | 31 | $details .= $details ? 'Caused by: ' : 'Exception: '; |
| 32 | - $details .= $this->exception->getMessage() . "\n" . |
|
| 33 | - "In " . $this->exception->getFile() . '(' . $this->exception->getLine() . ")\n" . |
|
| 34 | - $this->exception->getTraceAsString() . "\n\n"; |
|
| 32 | + $details .= $this->exception->getMessage()."\n". |
|
| 33 | + "In ".$this->exception->getFile().'('.$this->exception->getLine().")\n". |
|
| 34 | + $this->exception->getTraceAsString()."\n\n"; |
|
| 35 | 35 | |
| 36 | 36 | $exception = $exception->getPrevious(); |
| 37 | 37 | } |
@@ -21,6 +21,6 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | public function __toString() { |
| 24 | - return $this->id . ':' . $this->target; |
|
| 24 | + return $this->id.':'.$this->target; |
|
| 25 | 25 | } |
| 26 | 26 | } |
| 27 | 27 | \ No newline at end of file |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | "]); |
| 45 | 45 | |
| 46 | 46 | return (string)new Element('select', [ |
| 47 | - 'name' => $parameter->getName() . $fieldNameSuffix, |
|
| 47 | + 'name' => $parameter->getName().$fieldNameSuffix, |
|
| 48 | 48 | 'id' => $id, |
| 49 | 49 | 'class' => 'form-control combobox' |
| 50 | 50 | ], $children); |
@@ -33,8 +33,8 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function caption() { |
| 35 | 35 | return |
| 36 | - $this->unCamelize($this->method->getDeclaringClass()->getShortName()) . |
|
| 37 | - ': ' . $this->unCamelize($this->method->name); |
|
| 36 | + $this->unCamelize($this->method->getDeclaringClass()->getShortName()). |
|
| 37 | + ': '.$this->unCamelize($this->method->name); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | protected function unCamelize($camel) { |
@@ -46,10 +46,10 @@ discard block |
||
| 46 | 46 | */ |
| 47 | 47 | public function description() { |
| 48 | 48 | $lines = array_slice(explode("\n", $this->method->getDocComment()), 1, -1); |
| 49 | - $lines = array_map(function ($line) { |
|
| 49 | + $lines = array_map(function($line) { |
|
| 50 | 50 | return ltrim($line, ' *'); |
| 51 | 51 | }, $lines); |
| 52 | - $lines = array_filter($lines, function ($line) { |
|
| 52 | + $lines = array_filter($lines, function($line) { |
|
| 53 | 53 | return substr($line, 0, 1) != '@'; |
| 54 | 54 | }); |
| 55 | 55 | return $this->parser->parse(trim(implode("\n", $lines))); |
@@ -26,9 +26,9 @@ |
||
| 26 | 26 | * @throws \Exception if Action cannot be executed |
| 27 | 27 | */ |
| 28 | 28 | public function execute(array $parameters) { |
| 29 | - $injector = function () { |
|
| 29 | + $injector = function() { |
|
| 30 | 30 | }; |
| 31 | - $filter = function () { |
|
| 31 | + $filter = function() { |
|
| 32 | 32 | return true; |
| 33 | 33 | }; |
| 34 | 34 | |