Passed
Push — master ( 91f5e8...6b6a3c )
by Corrado
02:12
created
src/SimpleFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.