Passed
Push — master ( d4a764...3a53eb )
by Dev
14:43
created
src/Admin/PageAdmin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
                 'property' => 'title', // or any field in your media entity
120 120
                 'label' => 'admin.page.relatedPage.label',
121 121
                 'btn_add' => false,
122
-                'to_string_callback' => function ($entity) {
122
+                'to_string_callback' => function($entity) {
123 123
                     return $entity->getTitle();
124 124
                 },
125 125
             ]);
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
             'help_html' => true,
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()
187 187
                     ? $entity->getLocale().' ('.$entity->getSlug().')'
188 188
                     : $entity->getSlug(); // switch for getLocale
Please login to merge, or discard this patch.
src/Admin/MediaAdmin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $formMapper->with('i18n', ['class' => 'col-md-6'])
49 49
             ->add('names', null, [
50 50
                     'required' => false,
51
-                     'help_html' => true, 'help' => 'admin.media.names.help',
51
+                        'help_html' => true, 'help' => 'admin.media.names.help',
52 52
                     'label' => 'admin.media.names.label',
53 53
                     'attr' => ['ismedia' => 1, 'class' => 'col-md-6'],
54 54
             ])
Please login to merge, or discard this patch.