@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | */ |
42 | 42 | private $parameters = []; |
43 | 43 | |
44 | - public function __construct(string $object, bool $defaultParamter=null) |
|
44 | + public function __construct(string $object, bool $defaultParamter = null) |
|
45 | 45 | { |
46 | 46 | if (!class_exists($object)) { |
47 | 47 | throw new \InvalidArgumentException(\sprintf('The class %s not exits', $object)); |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | * @param bool $defaultParamter |
139 | 139 | * @return self |
140 | 140 | */ |
141 | - public static function create(string $object, bool $defaultParamter=null) |
|
141 | + public static function create(string $object, bool $defaultParamter = null) |
|
142 | 142 | { |
143 | 143 | return new self($object, $defaultParamter); |
144 | 144 | } |