Skip to content

Commit

Permalink
phalcon#16477 - Adjust return types bool -> false
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Dec 23, 2023
1 parent 7349e8a commit 4de4592
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion phalcon/Session/Adapter/AbstractAdapter.zep
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ abstract class AbstractAdapter implements SessionHandlerInterface
* @param int $maxlifetime
* @return false|int
*/
public function gc(int maxlifetime) -> int|bool
public function gc(int maxlifetime) -> int|false
{
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion phalcon/Session/Adapter/Noop.zep
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Noop implements SessionHandlerInterface
* @param int $maxlifetime
* @return false|int
*/
public function gc(int maxlifetime) -> int|bool
public function gc(int maxlifetime) -> int|false
{
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion phalcon/Session/Adapter/Stream.zep
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class Stream extends Noop
* @param int $maxlifetime
* @return false|int
*/
public function gc(int maxlifetime) -> int|bool
public function gc(int maxlifetime) -> int|false
{
var file, pattern, time;

Expand Down

0 comments on commit 4de4592

Please sign in to comment.