mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
N°8851 - Explicit nullable in functions parameters (#857)
This commit is contained in:
@@ -171,7 +171,7 @@ class DependencyMap
|
||||
*
|
||||
* @return array|null
|
||||
*/
|
||||
public function GetBlocksImpactedBy(string $sBlockName, callable $oFilter = null): ?array
|
||||
public function GetBlocksImpactedBy(string $sBlockName, ?callable $oFilter = null): ?array
|
||||
{
|
||||
if (!array_key_exists($sBlockName, $this->aBlocksImpactedBy)) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user