Completed
Push — master ( 3e8f50...f3441e )
by Daniel
07:03 queued 04:22
created
lib/Column/PropertyColumn.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Grid\Column;
6 6
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         $cell->template = 'Property';
29 29
 
30 30
         if (false === is_object($cell->context)) {
31
-            $property = '[' . $property . ']';
31
+            $property = '['.$property.']';
32 32
         }
33 33
 
34 34
         $cell->value = $this->accessor->getValue($cell->context, $property);
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     {
39 39
         $options->setDefault('property', null);
40 40
         $options->setAllowedTypes('property', ['string', 'null']);
41
-        $options->setNormalizer('property', function (OptionsResolver $options, $value) {
41
+        $options->setNormalizer('property', function(OptionsResolver $options, $value) {
42 42
             if (null !== $value) {
43 43
                 return $value;
44 44
             }
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             return $options['column_name'];
47 47
 
48 48
         });
49
-        $options->setNormalizer('sort_field', function (OptionsResolver $options, $value) {
49
+        $options->setNormalizer('sort_field', function(OptionsResolver $options, $value) {
50 50
             if (null !== $value) {
51 51
                 return $value;
52 52
             }
Please login to merge, or discard this patch.