Passed
Pull Request — master (#1)
by
unknown
04:57 queued 01:39
created
src/Admin/PageAdmin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -142,10 +142,10 @@  discard block
 block discarded – undo
142 142
                 'required' => false,
143 143
                     'multiple' => true,
144 144
                     'class' => $this->getConfigurationPool()->getContainer()->getParameter('app.entity_faq'),
145
-                    'property' => 'question',   // or any field in your media entity
145
+                    'property' => 'question', // or any field in your media entity
146 146
                     'label' => 'admin.page.faq.label',
147 147
                     'btn_add' => true,
148
-                    'to_string_callback' => function ($entity) {//, $property) {
148
+                    'to_string_callback' => function($entity) {//, $property) {
149 149
                         return $entity->getQuestion();
150 150
                     },
151 151
                 ]);
@@ -157,10 +157,10 @@  discard block
 block discarded – undo
157 157
                 'required' => false,
158 158
                     'multiple' => true,
159 159
                     'class' => $this->getConfigurationPool()->getContainer()->getParameter('app.entity_page'),
160
-                    'property' => 'title',   // or any field in your media entity
160
+                    'property' => 'title', // or any field in your media entity
161 161
                     'label' => 'admin.page.relatedPage.label',
162 162
                     'btn_add' => false,
163
-                    'to_string_callback' => function ($entity) { //, $property) {
163
+                    'to_string_callback' => function($entity) { //, $property) {
164 164
                         return $entity->getTitle();
165 165
                     },
166 166
                 ]);
Please login to merge, or discard this patch.