Passed
Push — main ( 89faa5...743d41 )
by Roman
03:25
created
src/routes/mdp/auth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 Route::name('kield01.mdp.')
7 7
 	->prefix('mdp')
8 8
 	->group(
9
-		static function () {
9
+		static function() {
10 10
 			Route::any('login', [TestAuthController::class, 'login'])->name('user.login');
11 11
 			Route::post('login', [TestAuthController::class, 'auth'])->name('user.auth');
12 12
 
Please login to merge, or discard this patch.
src/routes/mdp/dashboard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 Route::name('kield01.mdp.dashboard.')
9 9
 	->prefix('mdp')
10 10
 	->group(
11
-		static function () {
11
+		static function() {
12 12
 			Route::prefix('dashboard')
13 13
 				->group(
14
-					static function () {
14
+					static function() {
15 15
 						Route::any('', [TestDashboardController::class, 'dashboard'])->name('index');
16 16
 					}
17 17
 				);
Please login to merge, or discard this patch.
src/Helpers/MenuBuilder.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,7 @@
 block discarded – undo
21 21
 	{
22 22
 		foreach ($menuItems as $index => $menuItem) {
23 23
 			$link = array_key_exists('link', $menuItem) ?
24
-				$menuItem['link'] :
25
-				['type' => MenuItemLinkType::URI, 'uri' => '#'];
24
+				$menuItem['link'] : ['type' => MenuItemLinkType::URI, 'uri' => '#'];
26 25
 
27 26
 			$hasIcon = array_key_exists('icon', $menuItem);
28 27
 
Please login to merge, or discard this patch.
src/Helpers/MenuItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 		$words = explode(' ', $this->getTitle());
57 57
 
58 58
 		$abbrArray = array_map(
59
-			static function ($word) {
59
+			static function($word) {
60 60
 				$array = mb_str_split($word);
61 61
 
62 62
 				return current($array);
Please login to merge, or discard this patch.