Skip to content

Commit 8a62197

Browse files
committed
Minor fixes.
1 parent 7ac7c1c commit 8a62197

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/Cacheton.php

+2-9
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,17 @@ public function setExpire(int $seconds) {
5555
$this->expires = $seconds;
5656
}
5757

58-
/**
59-
* Prevents calling the class using the new keyword, if the __construct is protected.
60-
*
61-
* @return void
62-
*/
63-
private function __construct() {}
64-
6558
/**
6659
* Prevents cloning the multiton instances.
6760
*
6861
* @return void
6962
*/
70-
final private function __clone() {}
63+
private function __clone() {}
7164

7265
/**
7366
* Prevents unserializing the multiton instances.
7467
*
7568
* @return void
7669
*/
77-
final private function __wakeup() {}
70+
private function __wakeup() {}
7871
}

0 commit comments

Comments
 (0)