Skip to content

Commit

Permalink
#15343 - Improve stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Apr 10, 2021
1 parent 40758e7 commit a58ca6f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
13 changes: 12 additions & 1 deletion phalcon/Session/Bag.zep
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,21 @@ use Phalcon\Di\InjectionAwareInterface;
*/
class Bag extends Collection implements InjectionAwareInterface
{
/**
* @var DiInterface|null
*/
private container;

private name = null;
/**
* Session Bag name
*
* @var string
*/
private name;

/**
* @var \Phalcon\Session\ManagerInterface
*/
private session;

/**
Expand Down
8 changes: 4 additions & 4 deletions phalcon/Storage/Adapter/Apcu.zep
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class Apcu extends AbstractAdapter
* Reads data from the adapter
*
* @param string $key
* @param null $defaultValue
* @param mixed|null $defaultValue
*
* @return mixed
*/
Expand Down Expand Up @@ -183,9 +183,9 @@ class Apcu extends AbstractAdapter
/**
* Stores data in the adapter
*
* @param string $key
* @param mixed $value
* @param null $ttl
* @param string $key
* @param mixed $value
* @param \DateInterval|int|null $ttl
*
* @return bool
* @throws \Exception
Expand Down

0 comments on commit a58ca6f

Please sign in to comment.