Completed
Pull Request — master (#4)
by Emily
02:20
created
src/Factory/Reflection/ReflectorFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         preg_match_all
41 41
         (
42
-              '/^'
42
+                '/^'
43 43
             .     '[ \t]*\*[ \t]*'
44 44
             .     '@([a-zA-Z]+)'
45 45
             .     '(.*)'
Please login to merge, or discard this patch.
src/Exception/IllegalPropertyTypeException.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Factory/Reflection/ReflectionPropertyFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Model/Reflection/Type/ObjectType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * Creates this ObjectType with the given classname
34 34
      *
35
-     * @param string $class The name of the class this must be an
35
+     * @param string $classname The name of the class this must be an
36 36
      *     instance of
37 37
      */
38 38
     public function __construct(string $classname)
Please login to merge, or discard this patch.
src/Exception/PropertyAccessException.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Exception/MissingRequiredParameterException.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Factory/Reflection/ReflectionCompositeFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
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
     (
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
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
                 (
Please login to merge, or discard this patch.