Skip to content

Commit

Permalink
Adjust stubs of Phalcon v5.0.0-alpha.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Sep 17, 2021
1 parent 23fc0b5 commit dad9498
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Application/AbstractApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ public function getEventsManager(): ?ManagerInterface
* Gets the module definition registered in the application via module name
*
* @param string $name *
* @return array|mixed
* @return array|object
*/
public function getModule(string $name): array
public function getModule(string $name)
{
}

Expand Down
2 changes: 1 addition & 1 deletion src/Dispatcher/AbstractDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function callActionMethod($handler, string $actionMethod, array $params =
*
* @throws \Exception if any uncaught or unhandled exception occurs during the dispatcher process.
*/
public function dispatch(): bool
public function dispatch()
{
}

Expand Down
2 changes: 1 addition & 1 deletion src/Dispatcher/DispatcherInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface DispatcherInterface
*
* @return mixed
*/
public function dispatch(): bool;
public function dispatch();

/**
* Forwards the execution flow to another controller/action
Expand Down
2 changes: 1 addition & 1 deletion src/Helper/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ final public static function decode(string $data, bool $associative = false, int
* @param int $options Bitmask of JSON decode options.
* @param int $depth Recursion depth.
*
* @return mixed
* @return string
*
* @throws \InvalidArgumentException if the JSON cannot be encoded.
* @link http://www.php.net/manual/en/function.json-encode.php
Expand Down
2 changes: 1 addition & 1 deletion src/Mvc/Model/Binder.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function bindToHandler($handler, array $params, string $cacheKey, string
* @param mixed $paramValue
* @param string $className
*/
protected function findBoundModel($paramValue, string $className): bool
protected function findBoundModel($paramValue, string $className)
{
}

Expand Down

0 comments on commit dad9498

Please sign in to comment.