Completed
Branch master (502f99)
by Neomerx
01:54
created
src/Contracts/Adapters/PaginationStrategyInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,5 +42,5 @@
 block discarded – undo
42 42
      *
43 43
      * @return array [$offset, $limit]
44 44
      */
45
-    public function parseParameters(?array $parameters): array;
45
+    public function parseParameters(? array $parameters) : array;
46 46
 }
Please login to merge, or discard this patch.
src/Contracts/Schema/JsonSchemesInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,14 +27,14 @@
 block discarded – undo
27 27
     /**
28 28
      * @return RelationshipStorageInterface|null
29 29
      */
30
-    public function getRelationshipStorage(): ?RelationshipStorageInterface;
30
+    public function getRelationshipStorage(): ? RelationshipStorageInterface;
31 31
 
32 32
     /**
33 33
      * @param RelationshipStorageInterface|null $storage
34 34
      *
35 35
      * @return self
36 36
      */
37
-    public function setRelationshipStorage(?RelationshipStorageInterface $storage): self;
37
+    public function setRelationshipStorage(? RelationshipStorageInterface $storage) : self;
38 38
 
39 39
     /**
40 40
      * @param string $schemaClass
Please login to merge, or discard this patch.
src/Contracts/Api/CrudInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,12 +124,12 @@
 block discarded – undo
124 124
      *
125 125
      * @return array|null
126 126
      */
127
-    public function readRow($index): ?array;
127
+    public function readRow($index): ? array;
128 128
 
129 129
     /**
130 130
      * @param FilterParameterCollection|null $filterParams
131 131
      *
132 132
      * @return int|null
133 133
      */
134
-    public function count(FilterParameterCollection $filterParams = null): ?int;
134
+    public function count(FilterParameterCollection $filterParams = null): ? int;
135 135
 }
Please login to merge, or discard this patch.
src/Contracts/Api/ModelsDataInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,5 +32,5 @@
 block discarded – undo
32 32
     /**
33 33
      * @return RelationshipStorageInterface|null
34 34
      */
35
-    public function getRelationshipStorage(): ?RelationshipStorageInterface;
35
+    public function getRelationshipStorage(): ? RelationshipStorageInterface;
36 36
 }
Please login to merge, or discard this patch.
src/Contracts/Http/Query/SortParameterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     /**
40 40
      * @return int|null
41 41
      */
42
-    public function getRelationshipType(): ?int;
42
+    public function getRelationshipType(): ? int;
43 43
 
44 44
     /**
45 45
      * @return bool
Please login to merge, or discard this patch.
src/Contracts/Http/Query/FilterParameterInterface.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * @return string|null
26 26
      */
27
-    public function getRelationshipName(): ?string;
27
+    public function getRelationshipName(): ? string;
28 28
 
29 29
     /**
30 30
      * @return string|null
31 31
      */
32
-    public function getAttributeName(): ?string;
32
+    public function getAttributeName(): ? string;
33 33
 
34 34
     /**
35 35
      * @return string
@@ -59,5 +59,5 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * @return int|null
61 61
      */
62
-    public function getRelationshipType(): ?int;
62
+    public function getRelationshipType(): ? int;
63 63
 }
Please login to merge, or discard this patch.
src/Contracts/Models/PaginatedDataInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * @return int|null
61 61
      */
62
-    public function getOffset(): ?int;
62
+    public function getOffset(): ? int;
63 63
 
64 64
     /**
65 65
      * @param int|null $offset
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * @return int|null
73 73
      */
74
-    public function getLimit(): ?int;
74
+    public function getLimit(): ? int;
75 75
 
76 76
     /**
77 77
      * @param int|null $size
Please login to merge, or discard this patch.
src/Contracts/Models/RelationshipStorageInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,5 +80,5 @@
 block discarded – undo
80 80
      *
81 81
      * @return PaginatedDataInterface|null
82 82
      */
83
-    public function getRelationship($model, string $relationship): ?PaginatedDataInterface;
83
+    public function getRelationship($model, string $relationship): ? PaginatedDataInterface;
84 84
 }
Please login to merge, or discard this patch.
src/Adapters/PaginationStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     /**
60 60
      * @inheritdoc
61 61
      */
62
-    public function parseParameters(?array $parameters): array
62
+    public function parseParameters(? array $parameters) : array
63 63
     {
64 64
         if ($parameters === null) {
65 65
             return [0, $this->defaultPageLimit + 1];
Please login to merge, or discard this patch.