Skip to content

Commit a3bef68

Browse files
committed
Correctify type hinting.
1 parent dd2c028 commit a3bef68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/EntityTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ trait EntityTrait {
2323
* The entity type to check.
2424
* @param string $label
2525
* The label to check.
26-
* @param string $bundle
26+
* @param string|null $bundle
2727
* Optional bundle to check. If omitted, the entity can be of any bundle.
2828
*
2929
* @return \Drupal\Core\Entity\EntityInterface

0 commit comments

Comments
 (0)