Test Failed
Pull Request — master (#14)
by Christopher
09:20 queued 05:54
created
src/MetadataV4/edm/TFloatConstantExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@
 block discarded – undo
32 32
      * Gets or sets the inner value
33 33
      *
34 34
      * @param float ...$value
35
+     * @param double[] $value
35 36
      * @return float
36 37
      */
37 38
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TGuidConstantExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * Gets or sets the inner value
38 38
      *
39 39
      * @param string ...$value
40
+     * @param string[] $value
40 41
      * @return string
41 42
      */
42 43
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TIntConstantExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@
 block discarded – undo
32 32
      * Gets or sets the inner value
33 33
      *
34 34
      * @param integer ...$value
35
+     * @param integer[] $value
35 36
      * @return integer
36 37
      */
37 38
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TLabeledElementReferenceExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * Gets or sets the inner value
38 38
      *
39 39
      * @param string ...$value
40
+     * @param string[] $value
40 41
      * @return string
41 42
      */
42 43
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TPathExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * Gets or sets the inner value
38 38
      *
39 39
      * @param string ...$value
40
+     * @param string[] $value
40 41
      * @return string
41 42
      */
42 43
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TStringConstantExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * Gets or sets the inner value
38 38
      *
39 39
      * @param string ...$value
40
+     * @param string[] $value
40 41
      * @return string
41 42
      */
42 43
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TTimeOfDayConstantExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@
 block discarded – undo
32 32
      * Gets or sets the inner value
33 33
      *
34 34
      * @param \DateTime ...$value
35
+     * @param \DateTime[] $value
35 36
      * @return \DateTime
36 37
      */
37 38
     public function value(...$value)
Please login to merge, or discard this patch.
tests/TestTypeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,14 +188,14 @@
 block discarded – undo
188 188
     {
189 189
         $bar = m::mock(TestType::class);
190 190
         // closure needs to return true to match the matcher and thus trip the andReturn(false) bit
191
-        $bar->shouldReceive('isOK')->with(m::on(function (&$msg) {
191
+        $bar->shouldReceive('isOK')->with(m::on(function(&$msg) {
192 192
             $msg = 'OH NOES!';
193 193
             return true;
194 194
         }))->andReturn(false);
195 195
 
196 196
         $msg = null;
197 197
         $expected = "OH NOES!";
198
-        $arr = [ $bar ];
198
+        $arr = [$bar];
199 199
 
200 200
         $foo = new TestType();
201 201
         $this->assertFalse($foo->isChildArrayOK($arr, $msg), $msg);
Please login to merge, or discard this patch.