Completed
Push — master ( b12741...03b4a1 )
by Kirill
01:38
created
src/Attribute/TypeHint.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
     /**
45 45
      * @param Matchable $matcher
46
-     * @return Disjunction
46
+     * @return TypeHint
47 47
      */
48 48
     public function addMatcher(Matchable $matcher): Matchable
49 49
     {
Please login to merge, or discard this patch.
src/Properties.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 use Railt\Io\Exception\ExternalFileException;
13 13
 use Railt\Io\File;
14
-use Serafim\Properties\Attribute\AttributeInterface;
15 14
 use Serafim\Properties\Exception\AccessDeniedException;
16 15
 use Serafim\Properties\Exception\NotReadableException;
17 16
 use Serafim\Properties\Exception\NotWritableException;
Please login to merge, or discard this patch.
src/Reducers/TypeHint/GenericReducer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param RuleInterface $rule
34
-     * @return \Generator|Matchable
34
+     * @return \Generator
35 35
      */
36 36
     public function reduce(RuleInterface $rule): \Generator
37 37
     {
Please login to merge, or discard this patch.
src/Attribute/GenericTypeHint.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,21 +44,21 @@
 block discarded – undo
44 44
      */
45 45
     public function match($values): bool
46 46
     {
47
-        if (! \is_iterable($values)) {
47
+        if (!\is_iterable($values)) {
48 48
             return false;
49 49
         }
50 50
 
51
-        if (! parent::match($values)) {
51
+        if (!parent::match($values)) {
52 52
             return false;
53 53
         }
54 54
 
55 55
         if ($this->value || $this->key) {
56 56
             foreach ($values as $key => $value) {
57
-                if ($this->key && ! $this->key->match($key)) {
57
+                if ($this->key && !$this->key->match($key)) {
58 58
                     return false;
59 59
                 }
60 60
 
61
-                if ($this->value && ! $this->value->match($value)) {
61
+                if ($this->value && !$this->value->match($value)) {
62 62
                     return false;
63 63
                 }
64 64
             }
Please login to merge, or discard this patch.
src/Attribute/ArrayTypeHint.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@
 block discarded – undo
20 20
      */
21 21
     public function match($values): bool
22 22
     {
23
-        if (! \is_iterable($values)) {
23
+        if (!\is_iterable($values)) {
24 24
             return false;
25 25
         }
26 26
 
27 27
         foreach ($values as $value) {
28
-            if (! parent::match($value)) {
28
+            if (!parent::match($value)) {
29 29
                 return false;
30 30
             }
31 31
         }
Please login to merge, or discard this patch.