Passed
Push — master ( 80bc81...472f95 )
by Karel
09:32
created
src/Controllers/PageController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,9 +108,9 @@
 block discarded – undo
108 108
         $this->validate(request(), [//@todo create custom Request class for page validation
109 109
             'page_title' => 'max:185',
110 110
         ]);
111
-        if($request['create']){
111
+        if ($request['create']) {
112 112
             $this->page->create($request);
113
-        } if($request['update']){
113
+        } if ($request['update']) {
114 114
             $this->page->updatePage($request);
115 115
         }
116 116
         return redirect()->route('dashboard.pages');
Please login to merge, or discard this patch.