From c009b40ca92640d6dee96cfe94152192263b23c8 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Tue, 6 Mar 2018 09:51:52 +0100 Subject: [PATCH] Fix CS/WS issues --- src/Framework/Constraint/IsType.php | 2 +- tests/Framework/Constraint/IsTypeTest.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Framework/Constraint/IsType.php b/src/Framework/Constraint/IsType.php index a554afd4d67..b164f5dcaf9 100644 --- a/src/Framework/Constraint/IsType.php +++ b/src/Framework/Constraint/IsType.php @@ -48,7 +48,7 @@ class IsType extends Constraint 'string' => true, 'scalar' => true, 'callable' => true, - 'iterable' => true, + 'iterable' => true ]; /** diff --git a/tests/Framework/Constraint/IsTypeTest.php b/tests/Framework/Constraint/IsTypeTest.php index 05b66f19fdc..8504da0755f 100644 --- a/tests/Framework/Constraint/IsTypeTest.php +++ b/tests/Framework/Constraint/IsTypeTest.php @@ -99,6 +99,7 @@ public function testIterableTypeIsSupported(): void $this->assertTrue($constraint->evaluate([], '', true)); $this->assertEquals('is of type "iterable"', $constraint->toString()); } + /** * Removes spaces in front of newlines *