Passed
Push — master ( 4c863a...94b15a )
by Dev
14:06
created
src/Admin/PageAdmin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         $columnFields = [
62 62
             'admin.page.state.label' => ['createdAt', 'metaRobots'],
63 63
             'admin.page.permanlien.label' => ['host', 'slug', 'parentPage'],
64
-            'admin.page.extended.label' => ['expand' => true, 'fields' => ['mainImage', 'name', 'title',  'excrept']],
64
+            'admin.page.extended.label' => ['expand' => true, 'fields' => ['mainImage', 'name', 'title', 'excrept']],
65 65
             'admin.page.translations.label' => ['locale', 'translations'],
66 66
             'admin.page.otherProperties.label' => ['expand' => true, 'fields' => ['otherProperties']],
67 67
             'admin.page.images.label' => ['images'],
Please login to merge, or discard this patch.
src/Service/ShortCodeConverter.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,11 +4,13 @@
 block discarded – undo
4 4
 
5 5
 class ShortCodeConverter
6 6
 {
7
-    public static function do($string, $locale = null)
7
+    public static function do {
8
+        ($string, $locale = null)
8 9
     {
9 10
         //var_dump($string); exit;
10 11
         if ($locale) {
11 12
             setlocale(LC_TIME, self::convertLocale($locale));
13
+    }
12 14
         }
13 15
 
14 16
         //var_dump(self::convertLocale($locale)); exit;
Please login to merge, or discard this patch.
src/Entity/PageTrait.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,9 @@
 block discarded – undo
21 21
     public function getH1($elseTitle = false): ?string
22 22
     {
23 23
         if ($elseTitle) {
24
-            return ShortCodeConverter::do($this->h1 ?? $this->title ?? '', $this->getLocale());
24
+            return ShortCodeConverter::do {
25
+                ($this->h1 ?? $this->title ?? '', $this->getLocale());
26
+            }
25 27
         }
26 28
 
27 29
         return $this->h1;
Please login to merge, or discard this patch.