Skip to content

Commit 10f8b48

Browse files
committed
update
1 parent 0d57e42 commit 10f8b48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/plugin/admin/app/controller/Crud.php

+1-1
Original file line numberDiff line numberDiff 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) {

Diff for: src/plugin/admin/app/controller/PluginController.php

+1-1
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)