File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class BasePathDetector
2323 * @param array<mixed> $server The SERVER data to use
2424 * @param string|null $phpSapi The PHP_SAPI value
2525 */
26- public function __construct (array $ server , string $ phpSapi = null )
26+ public function __construct (array $ server , ? string $ phpSapi = null )
2727 {
2828 $ this ->server = $ server ;
2929 $ this ->phpSapi = $ phpSapi ?? PHP_SAPI ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ final class BasePathMiddleware implements MiddlewareInterface
2929 * @param App $app The slim app
3030 * @param string|null $phpSapi The PHP_SAPI value
3131 */
32- public function __construct (App $ app , string $ phpSapi = null )
32+ public function __construct (App $ app , ? string $ phpSapi = null )
3333 {
3434 $ this ->app = $ app ;
3535 $ this ->phpSapi = $ phpSapi ;
You can’t perform that action at this time.
0 commit comments