Passed
Push — master ( 0e756a...7a256f )
by Dev
29:19 queued 14:25
created
src/Admin/PageAdmin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
                 'property' => 'title', // or any field in your media entity
118 118
                 'label' => 'admin.page.relatedPage.label',
119 119
                 'btn_add' => false,
120
-                'to_string_callback' => function ($entity) {
120
+                'to_string_callback' => function($entity) {
121 121
                     return $entity->getTitle();
122 122
                 },
123 123
             ]);
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
             'label' => 'admin.page.translations.label',
177 177
             'help' => 'admin.page.translations.help',
178 178
             'btn_add' => false,
179
-            'to_string_callback' => function ($entity) {
179
+            'to_string_callback' => function($entity) {
180 180
                 return $entity->getLocale()
181 181
                     ? $entity->getLocale().' ('.$entity->getSlug().')'
182 182
                     : $entity->getSlug(); // switch for getLocale
Please login to merge, or discard this patch.