Skip to content

Commit

Permalink
[#12098] - Corrected interfaces and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Dec 10, 2018
1 parent c0784fe commit 8eea52d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion phalcon/diinterface.zep
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ interface DiInterface extends \ArrayAccess
/**
* Return the last DI created
*/
public static function getDefault() -> <DiInterface>;
public static function getDefault() -> <DiInterface> | null;

/**
* Resets the internal default DI
Expand Down
2 changes: 1 addition & 1 deletion phalcon/http/responseinterface.zep
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ interface ResponseInterface
/**
* Sends headers to the client
*/
public function sendHeaders() -> <ResponseInterface>;
public function sendHeaders() -> <ResponseInterface> | boolean;

/**
* Sends cookies to the client
Expand Down
2 changes: 1 addition & 1 deletion tests/_data/fixtures/controllers/MicroController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/

namespace Phalcon\Test\Fixtures\Controllers;
namespace Phalcon\Test\Controllers;

use Phalcon\Mvc\Controller;

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/Mvc/MicroCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Phalcon\Events\Event;
use Phalcon\Events\Manager;
use Phalcon\Mvc\Micro;
use Phalcon\Test\Fixtures\Controllers\MicroController;
use Phalcon\Test\Controllers\MicroController;
use Phalcon\Test\Fixtures\Micro\MyMiddleware;
use Phalcon\Test\Fixtures\Micro\MyMiddlewareStop;
use Phalcon\Test\Fixtures\Micro\RestHandler;
Expand Down

0 comments on commit 8eea52d

Please sign in to comment.