Add phpstan
This commit is contained in:
parent
90e8e68fa8
commit
cc557aa0fc
8 changed files with 30 additions and 8 deletions
|
@ -4,6 +4,10 @@ declare(strict_types=1);
|
|||
|
||||
use Drupal\node\NodeInterface;
|
||||
|
||||
/**
|
||||
* @param array<non-empty-string, array<non-empty-string, array{}>> $links
|
||||
* @param array<non-empty-string, mixed> $context
|
||||
*/
|
||||
function opd_podcast_node_links_alter(array &$links, NodeInterface $entity, array &$context): void {
|
||||
if ($entity->bundle() !== 'podcast_episode') {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue