Skip to content
This repository was archived by the owner on Dec 29, 2020. It is now read-only.

Commit 46068ec

Browse files
committed
Merge branch 'master' of github.com:dunglas/phpdoc-to-typehint
2 parents 77cfd1d + f98e4cf commit 46068ec

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Converter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ private function getType(Tag $tag): array
456456
}
457457

458458
if (!$type1 instanceof Null_ && $type0 instanceof Null_) {
459-
return [$type1>__toString(), true];
459+
return [$type1->__toString(), true];
460460
}
461461

462462
// Mixed types, cannot guess

tests/test.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<?php
2-
31
#!/usr/bin/env php
2+
<?php
43

54
/*
65
* This file is part of the PHPDoc to Type Hint package.

0 commit comments

Comments
 (0)