Skip to content

Commit b9f4889

Browse files
Add more return types after fixing a typo in my script
1 parent 5a22da3 commit b9f4889

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Adapter/ExtLdap/ConnectionOptions.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,9 @@ public static function getOptionName($name)
7373
*
7474
* @param string $name
7575
*
76-
* @return int
77-
*
7876
* @throws LdapException
7977
*/
80-
public static function getOption($name)
78+
public static function getOption($name): int
8179
{
8280
// Convert
8381
$constantName = self::getOptionName($name);

0 commit comments

Comments
 (0)