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 @@ -201,7 +201,7 @@ public static function getServerTitle(array $server): string {
201201 * @param array<int, array<string, int|string>> $servers
202202 */
203203 public static function serverSelector (Template $ template , array $ servers , int $ selected ): string {
204- $ options = array_map (static fn ($ server ) => self ::getServerTitle ($ server ), $ servers );
204+ $ options = array_map (static fn ($ server ): string => self ::getServerTitle ($ server ), $ servers );
205205
206206 return $ template ->render ('components/select ' , [
207207 'id ' => 'server_select ' ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ final class APCuTest extends TestCase {
2121 private APCuDashboard $ dashboard ;
2222
2323 public static function setUpBeforeClass (): void {
24- if (! ini_get ('apc.enable_cli ' )) {
24+ if (ini_get ('apc.enable_cli ' ) !== ' 1 ' ) {
2525 self ::markTestSkipped ('APC CLI is not enabled. Skipping all tests. ' );
2626 }
2727 }
You can’t perform that action at this time.
0 commit comments