Skip to content

Commit c77ddde

Browse files
authored
Merge pull request #1129 from phalcon/3.2.x
3.2.8
2 parents 018605a + 944e8d6 commit c77ddde

File tree

14 files changed

+95
-101
lines changed

14 files changed

+95
-101
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ script:
7575
- vendor/bin/codecept run unit -v
7676
- vendor/bin/codecept run functional -v
7777
- vendor/bin/codecept run console -v
78-
- '[[ "$PHP_MAJOR" == "5" ]] || vendor/bin/phpstan analyse -l 1 -c phpstan.neon scripts -vvv'
78+
- '[[ "$PHP_MAJOR" == "5" ]] || vendor/bin/phpstan analyse -l 5 -c phpstan.neon scripts -vvv'
7979

8080
notifications:
8181
email:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ This command should display something similar to:
114114
```sh
115115
$ phalcon --help
116116

117-
Phalcon DevTools (3.2.7)
117+
Phalcon DevTools (3.2.8)
118118

119119
Help:
120120
Lists the commands available in Phalcon devtools

scripts/Phalcon/Builder/Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ public function build()
7171

7272
if (!$controllersDir = $this->options->get('controllersDir')) {
7373
$config = $this->getConfig();
74-
if (!isset($config->application->controllersDir)) {
74+
if (empty($config->path('application.controllersDir'))) {
7575
throw new BuilderException('Please specify a controller directory.');
7676
}
7777

78-
$controllersDir = $config->application->controllersDir;
78+
$controllersDir = $config->path('application.controllersDir');
7979
}
8080

8181
if (!$this->options->contains('name')) {

scripts/Phalcon/Builder/Project.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Project extends Component
4343

4444
/**
4545
* Current Project Type
46-
* @var null
46+
* @var string
4747
*/
4848
private $currentType = self::TYPE_SIMPLE;
4949

scripts/Phalcon/Builder/Scaffold.php

Lines changed: 66 additions & 66 deletions
Large diffs are not rendered by default.

scripts/Phalcon/Commands/Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public function getOption($option, $filters = null, $defaultValue = null)
422422
/**
423423
* Indicates whether the script was a particular option.
424424
*
425-
* @param string $option
425+
* @param string | string[] $option
426426
* @return boolean
427427
*/
428428
public function isReceivedOption($option)
@@ -458,7 +458,7 @@ protected function filter($paramValue, $filters)
458458
/**
459459
* Gets the last parameter is not associated with any parameter name.
460460
*
461-
* @return string
461+
* @return string | bool
462462
*/
463463
public function getLastUnNamedParam()
464464
{

scripts/Phalcon/Db/Adapter/Pdo/PostgresqlExtended.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class PostgresqlExtended extends Postgresql
3737
*
3838
* @param string $table
3939
* @param string $schema
40-
* @return Reference
40+
* @return ReferenceInterface[]
4141
*
4242
*/
4343
public function describeReferences($table, $schema = NULL)

scripts/Phalcon/Devtools/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ class Version extends PhVersion
3939
*/
4040
protected static function _getVersion()
4141
{
42-
return [3, 2, 7, 4, 0];
42+
return [3, 2, 8, 4, 0];
4343
}
4444
}

scripts/Phalcon/Error/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function handle(AppError $error)
144144
* Maps error code to a string.
145145
*
146146
* @param integer $code
147-
* @return string
147+
* @return mixed
148148
*/
149149
public function mapErrors($code)
150150
{

scripts/Phalcon/Initializable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ function () {
689689
/** @noinspection PhpIncludeInspection */
690690
$menu = new SidebarMenu(include $menuItems);
691691

692-
$menu->setDI($this);
692+
$menu->setDI($this->di);
693693

694694
return $menu;
695695
}

0 commit comments

Comments
 (0)