@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2012, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2012, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Proxy; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2014, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2014, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Instrument\Transformer; |
12 | 12 |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | protected function indent($text) |
78 | 78 | { |
79 | 79 | $pad = str_pad('', $this->indent, ' '); |
80 | - $lines = array_map(function ($line) use ($pad) { |
|
80 | + $lines = array_map(function($line) use ($pad) { |
|
81 | 81 | return $pad . $line; |
82 | 82 | }, explode("\n", $text)); |
83 | 83 | |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | */ |
176 | 176 | protected function prepareArgsLine(ParsedMethod $method) |
177 | 177 | { |
178 | - $args = join(', ', array_map(function (ParsedParameter $param) { |
|
178 | + $args = join(', ', array_map(function(ParsedParameter $param) { |
|
179 | 179 | $byReference = $param->isPassedByReference() ? '&' : ''; |
180 | 180 | |
181 | 181 | return $byReference . '$' . $param->name; |
@@ -116,7 +116,7 @@ |
||
116 | 116 | 'use ' . join(', ', array(-1 => $this->parentClassName) + $this->traits) . |
117 | 117 | $this->getMethodAliasesCode() |
118 | 118 | ) . "\n" . // Use traits and aliases section |
119 | - $this->indent(join("\n", $this->methodsCode)) . "\n". // Method definitions |
|
119 | + $this->indent(join("\n", $this->methodsCode)) . "\n" . // Method definitions |
|
120 | 120 | "}" // End of trait body |
121 | 121 | ); |
122 | 122 |