Completed
Push — master ( 0ea61d...cfdc86 )
by
unknown
54:37 queued 53:08
created
src/Domain/Model/Repository/Filter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param $name
53
+     * @param integer $name
54 54
      *
55 55
      * @return BaseFilterInterface
56 56
      */
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-     * @param $name
95
+     * @param integer $name
96 96
      */
97 97
     protected function clearCollection($name)
98 98
     {
Please login to merge, or discard this patch.
src/Domain/Model/Repository/Pageable.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
     /**
43 43
      * Pageable constructor.
44 44
      *
45
-     * @param                      $pageNumber
46
-     * @param                      $pageSize
45
+     * @param                      integer $pageNumber
46
+     * @param                      integer $pageSize
47 47
      * @param SortInterface|null   $sort
48 48
      * @param FilterInterface|null $filter
49 49
      * @param FieldsInterface|null $fields
Please login to merge, or discard this patch.
src/Infrastructure/Model/Repository/InMemory/InMemorySorter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,14 +33,14 @@
 block discarded – undo
33 33
         /** @var Order $sortDirection */
34 34
         foreach ($sortOrder as $propertyName => $sortDirection) {
35 35
             if ($sortDirection->isAscending()) {
36
-                self::stableUasort($results, function ($a, $b) use ($propertyName) {
36
+                self::stableUasort($results, function($a, $b) use ($propertyName) {
37 37
                     $value1 = (string) self::getValue($a, $propertyName);
38 38
                     $value2 = (string) self::getValue($b, $propertyName);
39 39
 
40 40
                     return ((int) (strcmp($value1, $value2) >= 0));
41 41
                 });
42 42
             } else {
43
-                self::stableUasort($results, function ($a, $b) use ($propertyName) {
43
+                self::stableUasort($results, function($a, $b) use ($propertyName) {
44 44
                     $value1 = (string) self::getValue($a, $propertyName);
45 45
                     $value2 = (string) self::getValue($b, $propertyName);
46 46
 
Please login to merge, or discard this patch.
src/Domain/Model/Repository/Collections/ImmutableTypedCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     protected function calculateIndexKey()
43 43
     {
44
-        $callable = function ($value) {
44
+        $callable = function($value) {
45 45
             return null !== $value;
46 46
         };
47 47
 
Please login to merge, or discard this patch.
src/Infrastructure/Model/Repository/InMemory/InMemoryFilter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
 
27 27
     /**
28
-     * @param array  $results
28
+     * @param \NilPortugues\Foundation\Domain\Model\Repository\Contracts\Identity[]  $results
29 29
      * @param Filter $filter
30 30
      * @return array
31 31
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
      */
231 231
     private static function notContains($property, $needle)
232 232
     {
233
-        return function ($v, $k) use ($property,$needle) {
233
+        return function($v, $k) use ($property, $needle) {
234 234
             $v = InMemoryValue::get($v, $property);
235 235
 
236 236
             return false === mb_strpos($v, $needle);
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
      */
246 246
     private static function contains($property, $needle)
247 247
     {
248
-        return function ($v, $k) use ($property,$needle) {
248
+        return function($v, $k) use ($property, $needle) {
249 249
             $v = InMemoryValue::get($v, $property);
250 250
 
251 251
             return mb_strpos($v, $needle);
Please login to merge, or discard this patch.
src/Domain/Model/Repository/Page.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@  discard block
 block discarded – undo
53 53
      * Page constructor.
54 54
      *
55 55
      * @param array           $elements
56
-     * @param                 $totalElements
57
-     * @param                 $pageNumber
56
+     * @param                 integer $totalElements
57
+     * @param                 integer $pageNumber
58 58
      * @param                 $totalPages
59 59
      * @param SortInterface   $sort
60 60
      * @param FilterInterface $filter
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     }
194 194
 
195 195
     /**
196
-     * @return FieldsInterface
196
+     * @return null|FieldsInterface
197 197
      */
198 198
     public function getFields()
199 199
     {
Please login to merge, or discard this patch.