Completed
Push — master ( 44bad9...3ecbe1 )
by Jan
04:21
created
src/Security/EntityListeners/ElementPermissionListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             if ((null !== $annotation) && !$this->security->isGranted($annotation->getReadOperationName(), $element)) {
88 88
                 $property->setAccessible(true);
89 89
                 $value = $annotation->getPlaceholder();
90
-                if($value instanceof DBElement) {
90
+                if ($value instanceof DBElement) {
91 91
                     $this->em->detach($value);
92 92
                 }
93 93
                 $property->setValue($element, $value);
Please login to merge, or discard this patch.
src/DataTables/Column/EntityColumn.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,12 +71,12 @@
 block discarded – undo
71 71
 
72 72
         $resolver->setRequired('property');
73 73
 
74
-        $resolver->setDefault('field', function (Options $option) {
75
-            return $option['property'] . '.name';
74
+        $resolver->setDefault('field', function(Options $option) {
75
+            return $option['property'].'.name';
76 76
         });
77 77
 
78
-        $resolver->setDefault('render', function (Options $options) {
79
-            return function ($value, Part $context) use ($options) {
78
+        $resolver->setDefault('render', function(Options $options) {
79
+            return function($value, Part $context) use ($options) {
80 80
                 /** @var DBElement $entity */
81 81
                 $entity = $this->accessor->getValue($context, $options['property']);
82 82
 
Please login to merge, or discard this patch.