Completed
Push — master ( ab3488...b52ad2 )
by Mathieu
10:33
created
src/Charcoal/Cms/Route/GenericRoute.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -183,9 +183,9 @@
 block discarded – undo
183 183
             $controllerProperty = $contextObject->property('controller_ident');
184 184
 
185 185
             // Methods from TemplateableInterface / Trait
186
-            $templateIdent = $contextObject->templateIdent() ? : $objectRoute->routeTemplate();
186
+            $templateIdent = $contextObject->templateIdent() ?: $objectRoute->routeTemplate();
187 187
 // Default fallback to routeTemplate
188
-            $controllerIdent = $contextObject->controllerIdent() ? : $templateIdent;
188
+            $controllerIdent = $contextObject->controllerIdent() ?: $templateIdent;
189 189
 
190 190
             $templateChoice = $identProperty->choice($templateIdent);
191 191
         } else {
Please login to merge, or discard this patch.