File tree 2 files changed +2
-2
lines changed
src/plugin/admin/app/controller
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ protected function selectInput(Request $request): array
128
128
* @param string $order
129
129
* @return EloquentBuilder|QueryBuilder|Model
130
130
*/
131
- protected function doSelect (array $ where , string $ field = null , string $ order = 'desc ' )
131
+ protected function doSelect (array $ where , ? string $ field = null , string $ order = 'desc ' )
132
132
{
133
133
$ model = $ this ->model ;
134
134
foreach ($ where as $ column => $ value ) {
Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ protected function downloadClient(): Client
508
508
* @param array $extraDirs
509
509
* @return mixed|string|null
510
510
*/
511
- protected function findCmd (string $ name , string $ default = null , array $ extraDirs = [])
511
+ protected function findCmd (string $ name , ? string $ default = null , array $ extraDirs = [])
512
512
{
513
513
if (ini_get ('open_basedir ' )) {
514
514
$ searchPath = array_merge (explode (PATH_SEPARATOR , ini_get ('open_basedir ' )), $ extraDirs );
You can’t perform that action at this time.
0 commit comments