@@ -39,7 +39,7 @@ |
||
| 39 | 39 | { |
| 40 | 40 | preg_match_all |
| 41 | 41 | ( |
| 42 | - '/^' |
|
| 42 | + '/^' |
|
| 43 | 43 | . '[ \t]*\*[ \t]*' |
| 44 | 44 | . '@([a-zA-Z]+)' |
| 45 | 45 | . '(.*)' |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | parent::__construct |
| 19 | 19 | ( |
| 20 | - 'Tried to set an illegal property type for ' |
|
| 20 | + 'Tried to set an illegal property type for ' |
|
| 21 | 21 | . $class .'::$' . $property . '. Excpected ' . $expected |
| 22 | 22 | . ', got ' . $got, |
| 23 | 23 | 0, |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | { |
| 57 | 57 | parent::__construct |
| 58 | 58 | ( |
| 59 | - 'Cannot ' . static::ACCESS_TYPE . ' property: ' |
|
| 59 | + 'Cannot ' . static::ACCESS_TYPE . ' property: ' |
|
| 60 | 60 | . $class . '::$' . $property . '. ' . static::ERROR_REASON, |
| 61 | 61 | 0, |
| 62 | 62 | $previous |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | { |
| 40 | 40 | parent::__construct |
| 41 | 41 | ( |
| 42 | - 'Missing required parameter in constructor. ' |
|
| 42 | + 'Missing required parameter in constructor. ' |
|
| 43 | 43 | . $class . ' requires a value for ' . $parameter, |
| 44 | 44 | 0, |
| 45 | 45 | $previous |
@@ -157,7 +157,7 @@ |
||
| 157 | 157 | else |
| 158 | 158 | { |
| 159 | 159 | $factory = |
| 160 | - '\Spaark\CompositeUtils\Factory\Reflection' |
|
| 160 | + '\Spaark\CompositeUtils\Factory\Reflection' |
|
| 161 | 161 | . '\Reflection' . $signular . 'Factory'; |
| 162 | 162 | $item = $this->{'build' . $signular} |
| 163 | 163 | ( |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | $this->initParams(); |
| 98 | 98 | |
| 99 | 99 | $this->accessor->setRawValue('visibility', |
| 100 | - ($this->reflector->isPublic() ? 'public' |
|
| 100 | + ($this->reflector->isPublic() ? 'public' |
|
| 101 | 101 | : ($this->reflector->isProtected() ? 'protected' |
| 102 | 102 | : ($this->reflector->isPrivate() ? 'private' |
| 103 | 103 | : ('')))) |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | $i = 0; |
| 66 | 66 | |
| 67 | 67 | $code = |
| 68 | - '<?php namespace ' . $namespace . ';' |
|
| 68 | + '<?php namespace ' . $namespace . ';' |
|
| 69 | 69 | . 'class ' . $baseClass . ' extends ' . $originalClass |
| 70 | 70 | . '{'; |
| 71 | 71 | |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | return |
| 110 | - ($method->scope === 'static' ? 'static ' : '') |
|
| 110 | + ($method->scope === 'static' ? 'static ' : '') |
|
| 111 | 111 | . 'function ' . $method->name |
| 112 | 112 | . '(' . implode(',', $params) . '){' |
| 113 | 113 | . '__generic_' . $method->name |