Completed
Pull Request — master (#19)
by Vytautas
13s
created
tests/TestAssets/CustomAbstractSettingType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
      */
26 26
     public function isValid($value)
27 27
     {
28
-        return (bool)$value;
28
+        return (bool) $value;
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
tests/Settings/Storage/DoctrineStorageTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public function testCanCreate()
45 45
     {
46 46
         $entity = new CallbackToken(
47
-            function (SettingInterface $value) {
47
+            function(SettingInterface $value) {
48 48
                 $this->assertInstanceOf($this->collection->getOptions()->getObjectClass(), $value);
49 49
                 $this->assertEquals('temperature_unit', $value->getName());
50 50
                 $this->assertEquals('F', $value->getValue());
Please login to merge, or discard this patch.
tests/TestAssets/CustomSettingType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
      */
26 26
     public function isValid($value)
27 27
     {
28
-        return (bool)$value;
28
+        return (bool) $value;
29 29
     }
30 30
 }
Please login to merge, or discard this patch.