@@ -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, |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | * Builds the ReflectionProperty from the provided parameters, |
| 75 | 75 | * linking to a parent ReflectionComposite |
| 76 | 76 | * |
| 77 | - * @param ReflectionCompostite $parent The reflector for the class |
|
| 77 | + * @param ReflectionComposite $parent The reflector for the class |
|
| 78 | 78 | * this property belongs to |
| 79 | 79 | * @param mixed $default This property's default value |
| 80 | 80 | * @return ReflectionProperty |
@@ -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 |
@@ -130,7 +130,7 @@ |
||
| 130 | 130 | * |
| 131 | 131 | * @param string $name |
| 132 | 132 | * @param bool $checkFile |
| 133 | - * @param string $singular |
|
| 133 | + * @param string $signular |
|
| 134 | 134 | */ |
| 135 | 135 | protected function addItems |
| 136 | 136 | ( |
@@ -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 | ( |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * Checks if the given class is equal to this one |
| 27 | 27 | * |
| 28 | - * @param Type $oject |
|
| 28 | + * @param Type $object |
|
| 29 | 29 | * @return boolean |
| 30 | 30 | */ |
| 31 | 31 | public function equals($object) : bool; |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | { |
| 36 | 36 | parent::__construct |
| 37 | 37 | ( |
| 38 | - 'Cannot serialize object containing generics without ' |
|
| 38 | + 'Cannot serialize object containing generics without ' |
|
| 39 | 39 | . 'context', |
| 40 | 40 | 0, |
| 41 | 41 | $previous |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | /** |
| 44 | 44 | * Creates this ObjectType with the given classname |
| 45 | 45 | * |
| 46 | - * @param mixed $class The name of the class this must be an |
|
| 46 | + * @param string $classname The name of the class this must be an |
|
| 47 | 47 | * instance of |
| 48 | 48 | */ |
| 49 | 49 | public function __construct($classname) |