-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'base_object_config_type'
- Loading branch information
Showing
18 changed files
with
235 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\base; | ||
|
||
class ActionEvent { | ||
|
||
/** | ||
* TODO: remove when https://github.com/phpstan/phpstan/issues/10198 will be fixed | ||
* | ||
* @param \yii\base\Action $action | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct($action, $config = []) {} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\base; | ||
|
||
class BaseObject { | ||
|
||
/** | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct($config = []) {} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\base; | ||
|
||
class DynamicModel { | ||
|
||
/** | ||
* TODO: remove when https://github.com/phpstan/phpstan/issues/10198 will be fixed | ||
* | ||
* @param array<string, mixed> $attributes | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct(array $attributes = [], $config = []) {} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\base; | ||
|
||
class InlineAction { | ||
|
||
/** | ||
* TODO: remove when https://github.com/phpstan/phpstan/issues/10198 will be fixed | ||
* | ||
* @param string $id | ||
* @param \yii\base\Controller $controller | ||
* @param string $actionMethod | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct($id, $controller, $actionMethod, $config = []) {} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\base; | ||
|
||
class Module { | ||
|
||
/** | ||
* TODO: remove when https://github.com/phpstan/phpstan/issues/10198 will be fixed | ||
* | ||
* @param string $id | ||
* @param \yii\base\Module|null $parent | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct($id, $parent = null, $config = []) {} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\db; | ||
|
||
class Command { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\db; | ||
|
||
class DataReader { | ||
|
||
/** | ||
* TODO: remove when https://github.com/phpstan/phpstan/issues/10198 will be fixed | ||
* | ||
* @param \yii\db\Command $command | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct(Command $command, $config = []) {} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\db; | ||
|
||
class Expression { | ||
|
||
/** | ||
* TODO: remove when https://github.com/phpstan/phpstan/issues/10198 will be fixed | ||
* | ||
* @param string $expression | ||
* @param array<mixed> $params | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct($expression, $params = [], $config = []) {} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\db; | ||
|
||
class QueryBuilder { | ||
|
||
/** | ||
* TODO: remove when https://github.com/phpstan/phpstan/issues/10198 will be fixed | ||
* | ||
* @param \yii\db\Connection $connection | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct($connection, $config = []) {} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\db; | ||
|
||
abstract class SqlTokenizer { | ||
|
||
/** | ||
* TODO: remove when https://github.com/phpstan/phpstan/issues/10198 will be fixed | ||
* | ||
* @param string $sql | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct($sql, $config = []) {} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\web; | ||
|
||
class Cookie { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\web; | ||
|
||
class CookieCollection { | ||
|
||
/** | ||
* TODO: remove when https://github.com/phpstan/phpstan/issues/10198 will be fixed | ||
* | ||
* @param array<string, \yii\web\Cookie> $cookies | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct($cookies = [], $config = []) {} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace yii\web; | ||
|
||
class JsExpression { | ||
|
||
/** | ||
* TODO: remove when https://github.com/phpstan/phpstan/issues/10198 will be fixed | ||
* | ||
* @param string $expression | ||
* @param array<string, mixed> $config | ||
*/ | ||
public function __construct($expression, $config = []) {} | ||
|
||
} |