1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-27 20:32:28 +01:00

Please fix failing tests?

This commit is contained in:
Dane Everitt 2017-10-03 23:57:13 -05:00
parent 29ac1662b6
commit 3e689cf212
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -26,7 +26,7 @@ abstract class AdminFormRequest extends FormRequest
*
* @return bool
*/
public function authorize(): bool
public function authorize()
{
if (is_null($this->user())) {
return false;
@ -42,7 +42,7 @@ abstract class AdminFormRequest extends FormRequest
* @param array $only
* @return array
*/
public function normalize($only = []): array
public function normalize($only = [])
{
return array_merge(
$this->only($only),