mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
Please fix failing tests? ✋
This commit is contained in:
parent
29ac1662b6
commit
3e689cf212
@ -26,7 +26,7 @@ abstract class AdminFormRequest extends FormRequest
|
|||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function authorize(): bool
|
public function authorize()
|
||||||
{
|
{
|
||||||
if (is_null($this->user())) {
|
if (is_null($this->user())) {
|
||||||
return false;
|
return false;
|
||||||
@ -42,7 +42,7 @@ abstract class AdminFormRequest extends FormRequest
|
|||||||
* @param array $only
|
* @param array $only
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function normalize($only = []): array
|
public function normalize($only = [])
|
||||||
{
|
{
|
||||||
return array_merge(
|
return array_merge(
|
||||||
$this->only($only),
|
$this->only($only),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user