@@ -81,10 +81,10 @@ discard block |
||
81 | 81 | { |
82 | 82 | // If no message was provided, we should update |
83 | 83 | // the most recently added message. |
84 | - if (! $message) { |
|
84 | + if ( ! $message) { |
|
85 | 85 | return $this->updateLastMessage(compact('level')); |
86 | 86 | } |
87 | - if (! $message instanceof Message) { |
|
87 | + if ( ! $message instanceof Message) { |
|
88 | 88 | $message = new Message(compact('message', 'level')); |
89 | 89 | } |
90 | 90 | $this->messages->push($message); |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | */ |
111 | 111 | public function overlay($message = null, $title = 'Notice') |
112 | 112 | { |
113 | - if (! $message) { |
|
113 | + if ( ! $message) { |
|
114 | 114 | return $this->updateLastMessage(['title' => $title, 'overlay' => true]); |
115 | 115 | } |
116 | 116 | return $this->message( |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | 'middleware' => 'web', |
6 | 6 | 'prefix' => config('starter-kit.routes.prefix', 'rt-admin'), |
7 | 7 | 'namespace' => 'Raystech\StarterKit\Http\Controllers' |
8 | -], function(){ |
|
8 | +], function() { |
|
9 | 9 | |
10 | 10 | Route::get('ping', function() { |
11 | 11 | $config = config('starter-kit'); |
@@ -13,5 +13,5 @@ discard block |
||
13 | 13 | return 'received'; |
14 | 14 | }); |
15 | 15 | |
16 | - Route::resource('posts','PostController', [ 'as' => config('starter-kit.routes.name_prefix', 'rt-admin') ]); |
|
16 | + Route::resource('posts', 'PostController', ['as' => config('starter-kit.routes.name_prefix', 'rt-admin')]); |
|
17 | 17 | }); |
18 | 18 | \ No newline at end of file |