Commit fadd66b6 authored by Marwolf's avatar Marwolf 💬

Corrections for compact variables

parent 4d4d840d
......@@ -192,7 +192,7 @@ class HomeController extends Controller
[
'players' => $players,
]
)->with(compact('online'));
);
}
public function createdtoday()
......@@ -212,7 +212,7 @@ class HomeController extends Controller
[
'players' => $players,
]
)->with(compact('createdtoday'));
);
}
public function logins48()
......@@ -231,7 +231,7 @@ class HomeController extends Controller
[
'players' => $players,
]
)->with(compact('logins48'));
);
}
public function stats()
......@@ -1484,7 +1484,7 @@ class HomeController extends Controller
'dlong' => $dlong,
'cabbage' => $cabbage,
]
)->with(compact('stats'));
);
}
public function worldmap()
......@@ -1509,7 +1509,6 @@ class HomeController extends Controller
return view('worldmap', [
'playerPositions' => $playerPositions,
])
->with(compact('$playerPositions'));
]);
}
}
......@@ -121,8 +121,7 @@ class PlayerController extends Controller
'totalTime' => $totalTime,
'player_feed' => $player_feed,
'npc_kills' => $npc_kills,
])
->with(compact('$banks'));
]);
}
/**
......@@ -151,8 +150,7 @@ class PlayerController extends Controller
return view('bank', [
'banks' => $banks,
])
->with(compact('$banks'));
]);
}
/**
......
......@@ -93,7 +93,6 @@ class QuestController extends Controller
'quest_array' => $quest_array,
'minigame_array' => $minigame_array,
'subpage' => $subpage,
])
->with(compact('quest'));
]);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment