Skip to content

Commit 2171a30

Browse files
authored
Merge pull request #1 from BlackbitNeueMedien/patch-1
Add return type
2 parents 894b43c + d7d54ba commit 2171a30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Singleton.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ final private function __clone()
1313
{
1414
throw new Exception('You can not clone a singleton.');
1515
}
16-
16+
17+
/**
18+
* @return static
19+
*/
1720
public static function getInstance()
1821
{
1922
static $instances;

0 commit comments

Comments
 (0)