diff --git a/phalcon/Session/Adapter/AbstractAdapter.zep b/phalcon/Session/Adapter/AbstractAdapter.zep index 70b9c844464..b6f4b876fd5 100644 --- a/phalcon/Session/Adapter/AbstractAdapter.zep +++ b/phalcon/Session/Adapter/AbstractAdapter.zep @@ -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; } diff --git a/phalcon/Session/Adapter/Noop.zep b/phalcon/Session/Adapter/Noop.zep index 351f6380d34..d9da6b9259e 100644 --- a/phalcon/Session/Adapter/Noop.zep +++ b/phalcon/Session/Adapter/Noop.zep @@ -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; } diff --git a/phalcon/Session/Adapter/Stream.zep b/phalcon/Session/Adapter/Stream.zep index a0cb4aa584b..f5f60ba661e 100644 --- a/phalcon/Session/Adapter/Stream.zep +++ b/phalcon/Session/Adapter/Stream.zep @@ -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;