Completed
Pull Request — master (#4)
by Emily
02:19
created
src/Factory/Reflection/ReflectionPropertyFactory.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -16,13 +16,6 @@
 block discarded – undo
16 16
 
17 17
 use Spaark\CompositeUtils\Model\Reflection\ReflectionComposite;
18 18
 use Spaark\CompositeUtils\Model\Reflection\ReflectionProperty;
19
-use Spaark\CompositeUtils\Model\Reflection\ReflectionParameter;
20
-use Spaark\CompositeUtils\Model\Reflection\Type\BooleanType;
21
-use Spaark\CompositeUtils\Model\Reflection\Type\CollectionType;
22
-use Spaark\CompositeUtils\Model\Reflection\Type\IntegerType;
23
-use Spaark\CompositeUtils\Model\Reflection\Type\MixedType;
24
-use Spaark\CompositeUtils\Model\Reflection\Type\ObjectType;
25
-use Spaark\CompositeUtils\Model\Reflection\Type\StringType;
26 19
 use Spaark\CompositeUtils\Service\RawPropertyAccessor;
27 20
 use \ReflectionProperty as PHPNativeReflectionProperty;
28 21
 
Please login to merge, or discard this patch.
src/Service/GenericNameProvider.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -20,10 +20,7 @@
 block discarded – undo
20 20
 use Spaark\CompositeUtils\Model\Reflection\Type\FloatType;
21 21
 use Spaark\CompositeUtils\Model\Reflection\Type\MixedType;
22 22
 use Spaark\CompositeUtils\Model\Reflection\Type\IntegerType;
23
-use Spaark\CompositeUtils\Model\Reflection\Type\CollectionType;
24 23
 use Spaark\CompositeUtils\Model\Reflection\Type\StringType;
25
-use Spaark\CompositeUtils\Exception\PropertyNotWritableException;
26
-use Spaark\CompositeUtils\Exception\PropertyNotReadableException;
27 24
 
28 25
 /**
29 26
  * Used to retrieve the classname for an AbstractType
Please login to merge, or discard this patch.
src/Factory/Reflection/ReflectionMethodFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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
             : (''))))
Please login to merge, or discard this patch.