Skip to content

Commit 11e59ff

Browse files
committed
Fix detection of methods in PhpStorm
1 parent 84e0d78 commit 11e59ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webapp/src/Controller/Jury/ExecutableController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ public function indexAction(Request $request): Response
6060
->addOrderBy('e.type', 'ASC')
6161
->addOrderBy('e.execid', 'ASC')
6262
->getQuery()->getResult();
63+
// PhpStorm doesn't pick this up without,
64+
// based on a dump this is `"c" => App\Entity\Executable`.
65+
/** @var Executable[] $executables */
6366
$executables = array_column($executables, 'executable', 'execid');
6467
$table_fields = [
6568
'icon' => ['title' => 'type', 'sort' => false],

0 commit comments

Comments
 (0)