File tree Expand file tree Collapse file tree
src/plugin/admin/app/controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ protected function selectInput(Request $request): array
128128 * @param string $order
129129 * @return EloquentBuilder|QueryBuilder|Model
130130 */
131- protected function doSelect (array $ where , string $ field = null , string $ order = 'desc ' )
131+ protected function doSelect (array $ where , ? string $ field = null , string $ order = 'desc ' )
132132 {
133133 $ model = $ this ->model ;
134134 foreach ($ where as $ column => $ value ) {
Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ protected function downloadClient(): Client
508508 * @param array $extraDirs
509509 * @return mixed|string|null
510510 */
511- protected function findCmd (string $ name , string $ default = null , array $ extraDirs = [])
511+ protected function findCmd (string $ name , ? string $ default = null , array $ extraDirs = [])
512512 {
513513 if (ini_get ('open_basedir ' )) {
514514 $ searchPath = array_merge (explode (PATH_SEPARATOR , ini_get ('open_basedir ' )), $ extraDirs );
You can’t perform that action at this time.
0 commit comments