Completed
Push — master ( 04c591...650abf )
by Dev
13:38
created
src/Admin/PageAdmin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
                     'property' => 'title', // or any field in your media entity
124 124
                     'label' => 'admin.page.relatedPage.label',
125 125
                     'btn_add' => false,
126
-                    'to_string_callback' => function ($entity) {
126
+                    'to_string_callback' => function($entity) {
127 127
                         return $entity->getTitle();
128 128
                     },
129 129
             ]);
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
             'label' => 'admin.page.translations.label',
183 183
             'help' => 'admin.page.translations.help',
184 184
             'btn_add' => false,
185
-            'to_string_callback' => function ($entity) {
185
+            'to_string_callback' => function($entity) {
186 186
                 return $entity->getLocale() ? $entity->getLocale().' ('.$entity->getSlug().')' : $entity->getSlug(); // switch for getLocale
187 187
                     // todo : remove it in next release and leave only get locale
188 188
                     // todo : add a clickable link to the other admin
Please login to merge, or discard this patch.