Passed
Push — main ( bcc78b...57b38b )
by
unknown
08:40 queued 04:18
created
src/Http/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      */
97 97
     public function fullUrl(): string
98 98
     {
99
-        if (! empty($query = $this->getEnv('QUERY_STRING'))) {
99
+        if (!empty($query = $this->getEnv('QUERY_STRING'))) {
100 100
             return $this->url() . '?' . $query;
101 101
         }
102 102
 
Please login to merge, or discard this patch.
src/Controllers/ApplicationController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $options = (array) $options;
46 46
 
47 47
         // N'est-il pas namespaced ? on cherche le dossier en fonction du controleur
48
-        if (! str_contains($view, '\\')) {
48
+        if (!str_contains($view, '\\')) {
49 49
             $reflection                                      = new ReflectionClass(static::class);
50 50
             ['dirname' => $dirname, 'filename' => $filename] = pathinfo($reflection->getFileName());
51 51
             $dirname                                         = str_ireplace('Controllers', 'Views', $dirname);
@@ -57,16 +57,16 @@  discard block
 block discarded – undo
57 57
 
58 58
         $viewer->setData($data)->setOptions($options);
59 59
 
60
-        if (! empty($this->layout) && is_string($this->layout)) {
60
+        if (!empty($this->layout) && is_string($this->layout)) {
61 61
             $viewer->setLayout($this->layout);
62 62
         }
63 63
 
64
-        if (! empty($this->viewDatas) && is_array($this->viewDatas)) {
64
+        if (!empty($this->viewDatas) && is_array($this->viewDatas)) {
65 65
             $viewer->addData($this->viewDatas);
66 66
         }
67 67
 
68 68
         if (empty($data['title'])) {
69
-            if (! is_string($controllerName = Dispatcher::getController(false))) {
69
+            if (!is_string($controllerName = Dispatcher::getController(false))) {
70 70
                 $controllerName = static::class;
71 71
             }
72 72
             $controllerName = str_ireplace(['App\Controllers', 'Controller'], '', $controllerName);
Please login to merge, or discard this patch.