Completed
Push — master ( e4979f...3f5cf0 )
by Harry
02:43
created
src/Factory/ValueFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param string         $regex
28
-     * @param string|Closure $replace
28
+     * @param string $replace
29 29
      *
30 30
      * @return $this
31 31
      */
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * Parse the supplied value and return the interpreted value
39 39
      *
40
-     * @param mixed $value
40
+     * @param string $value
41 41
      *
42 42
      * @return mixed
43 43
      */
Please login to merge, or discard this patch.
tests/unit/Factory/FilterFactoryTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
     {
50 50
         if (is_string($expected)) {
51 51
             $this->valueFactory->shouldReceive('parseValue')
52
-                               ->with($expected)
53
-                               ->once()
54
-                               ->andReturn($expected);
52
+                                ->with($expected)
53
+                                ->once()
54
+                                ->andReturn($expected);
55 55
         }
56 56
 
57 57
         $filter = $this->factory->getFilter($property, $expected);
@@ -144,8 +144,8 @@  discard block
 block discarded – undo
144 144
     {
145 145
         foreach ($configuration as $property => $value) {
146 146
             $this->valueFactory->shouldReceive('parseValue')
147
-                               ->with($value)
148
-                               ->andReturn($value);
147
+                                ->with($value)
148
+                                ->andReturn($value);
149 149
         }
150 150
 
151 151
         $filter = $this->factory->createFilters($configuration);
Please login to merge, or discard this patch.