Skip to content

Commit

Permalink
Merge pull request #87 from lisi4ok/master
Browse files Browse the repository at this point in the history
changes for version 5.2.1
  • Loading branch information
Jeckerson authored Mar 8, 2023
2 parents 80709ec + 8a215ca commit cf434be
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
php-versions: ["7.4", "8.0", "8.1"]
php-versions: ["7.4", "8.0", "8.1", "8.2"]

steps:
- uses: actions/checkout@v3
Expand All @@ -23,7 +23,7 @@ jobs:

- name: Get Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion src/Db/AbstractDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
namespace Phalcon\Db;

use PDO as Pdo;
use \PDO as Pdo;

/**
* Phalcon\Db and its related classes provide a simple SQL database interface
Expand Down
2 changes: 1 addition & 1 deletion src/Di/Injectable.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @property \Phalcon\Mvc\Model\MetaData\Memory|\Phalcon\Mvc\Model\MetadataInterface $modelsMetadata
* @property \Phalcon\Mvc\Model\Transaction\Manager|\Phalcon\Mvc\Model\Transaction\ManagerInterface $transactionManager
* @property \Phalcon\Assets\Manager $assets
* @property \Phalcon\Di\Di|\Phalcon\Di\DiInterface $di
* @property \Phalcon\Di\Di|\Phalcon\Di\Di\DiInterface $di
* @property \Phalcon\Session\Bag|\Phalcon\Session\BagInterface $persistent
* @property \Phalcon\Mvc\View|\Phalcon\Mvc\ViewInterface $view
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Mvc/Micro.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function __construct(\Phalcon\Di\DiInterface $container = null)
/**
* Appends an 'after' middleware to be called after execute the route
*
* @param callable $handler
* @param callable|MiddlewareInterface $handler
* @return Micro
*/
public function after($handler): Micro
Expand All @@ -157,7 +157,7 @@ public function afterBinding($handler): Micro
/**
* Appends a before middleware to be called before execute the route
*
* @param callable $handler
* @param callable|MiddlewareInterface $handler
* @return Micro
*/
public function before($handler): Micro
Expand Down
4 changes: 2 additions & 2 deletions src/Storage/Adapter/Apcu.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
namespace Phalcon\Storage\Adapter;

use APCuIterator;
use APCUIterator;
use DateInterval;
use Exception;
use Phalcon\Storage\SerializerFactory;
Expand Down Expand Up @@ -195,7 +195,7 @@ protected function phpApcuFetch($key, $success = null)

/**
* @param string $pattern
* @return bool|APCuIterator
* @return bool|APCUIterator
*/
protected function phpApcuIterator(string $pattern)
{
Expand Down

0 comments on commit cf434be

Please sign in to comment.