Skip to content

Commit 9b43003

Browse files
committed
correctly forwared insertparentheses for list types
1 parent fa15938 commit 9b43003

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Types/CompositeTypes/ListType.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ interface ListType extends CompositeType
3333
* Checks whether the given element exists in this list.
3434
*
3535
* @param PropertyType $left
36+
* @param bool $insertParentheses
3637
* @return In
3738
*/
38-
public function has(PropertyType $left): In;
39+
public function has(PropertyType $left, bool $insertParentheses = true): In;
3940
}

0 commit comments

Comments
 (0)