We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 672d8ac commit a692456Copy full SHA for a692456
src/Comparator/Type.php
@@ -19,7 +19,7 @@ class Type extends \PHPSemVerChecker\Comparator\Type
19
* @param Name|NullableType|string|null $type
20
* @return string|null
21
*/
22
- public static function get($type)
+ public static function get($type): ?string
23
{
24
if (! is_object($type)) {
25
return $type;
0 commit comments