f96c2c5ef4
Add accidentally removed phpdoc
2024-07-12 16:29:14 +03:00
52e4a3e645
release version 2.0.50
2024-05-30 20:23:31 +03:00
af705d9eb2
Fix ci lint.
2024-05-28 11:54:31 -04:00
f2ea9be242
Update deprecated isArray() method in Controller.php ( #20156 )
2024-05-16 13:16:33 +03:00
e2a167028b
Upgrade to PSR12 coding standard ( #20121 )
2024-03-19 17:21:27 +03:00
80a18ad6ba
Fix #18859 : Fix yii\web\Controller::bindInjectedParams()
to not throw error when argument of ReflectionUnionType
type is passed
2023-05-31 21:30:45 +03:00
c9f491b4f7
release version 2.0.48.1
2023-05-24 23:04:02 +04:00
25eed6fe1c
Fix phpdoc for yii\web\Controller ( #19619 )
2022-10-12 08:41:20 +02:00
22614a5b1f
release version 2.0.46
2022-08-19 01:18:45 +03:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
4628b91e73
Fix types ( #19332 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
2022-03-30 18:40:10 +02:00
ae82b58d85
Fix #18909 : Fix bug with binding default action parameters for controllers
2021-10-19 01:01:46 +03:00
ea60fba0ae
Fix yii\base\Controller::bindInjectedParams() to not throw error when argument of ReflectionUnionType
type is passed ( #18869 )
2021-09-06 20:16:14 +02:00
14a581562a
Fix #18566 : Throw the original exception when yii\web\Controller::bindInjectedParams()
catches HttpException
2021-03-23 21:38:52 +03:00
d610853fdf
Fix #18450 : Allow empty string to be passed as a nullable typed argument to a controller's action
2021-03-02 14:24:17 +03:00
835971c6f6
Fix Controller phpdoc annotations
2020-11-02 13:13:11 +03:00
306171b582
Add phpdoc for properties "request" and "response" in web and console controllers ( #18361 )
2020-11-01 17:38:32 +03:00
1d7baabab5
Fix #18297 : Replace usage of deprecated ReflectionParameter::isArray()
method in PHP8
2020-09-22 00:26:37 +03:00
dab7a6c317
Update phpdoc
2020-07-20 02:44:55 +03:00
fc4f449e21
Fix #18083 : Add Controller::$request
and $response
2020-06-14 21:19:27 +03:00
4ea484ca68
Fix #17722 : Add action injection support
2020-06-12 10:06:18 +03:00
4b6d3c0290
Fix #17929 : Actions can now have bool typed params bound
2020-03-24 18:44:43 +03:00
69b1966b4a
PHP 7.4 fixes
...
- Fix `Model::activeAttributes()` to access array offset on value of non-string
- Fix incorrect decoding of default binary value for PostgreSQL
- Fix incorrect type-casting of reflection type to string
2019-12-10 15:08:45 +03:00
40797c1139
Fix #17701 : Throw BadRequetHttpException
when request params can’t be bound to bool
, int
, and float
controller action arguments
2019-12-03 12:40:56 +03:00
c82aedb86d
add a comment to explain why Url::to() is called in Controller::redirect()
...
close #16887
2018-11-14 15:56:03 +01:00
65f6b59b35
@inheritdoc
notation changed
2018-01-23 13:11:24 +02:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
d38908fc13
Fixed #14469 : updated RFC links
2017-07-17 16:21:49 +03:00
8eabff0698
#13975 : make documentation of current behaviour more clear [skip ci]
2017-04-16 00:55:35 +03:00
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
2017-02-19 17:34:22 +03:00
eab3489ec7
Reverted #13393 : Removed redundant call to yii\helpers\Url::to()
in yii\web\Controller::redirect()
(reverted from commit e5d169beb8257ba47654275cbee2e98fb910f5d5)
2017-01-24 13:09:57 +03:00
e5d169beb8
Fixes #13393 : Removed redundant call to yii\helpers\Url::to()
in yii\web\Controller::redirect()
2017-01-22 11:56:52 +03:00
081ee7c5b1
Implemented shortcut methods for returning JSON and XML ( #13101 )
...
fixes #13036
2016-12-01 10:33:49 +01:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
79a4241fff
fixed rest controller PHPdoc
...
fixes #11215
2016-03-28 16:00:16 +02:00
42b8569846
Revert DI injection via controller action method signature
...
reverts b7020065c and related commits.
reverts implementation of #9476
For reasons, see discussion https://github.com/yiisoft/yii2/issues/9476#issuecomment-179749039
2016-02-06 18:40:50 +01:00
4bc2eb7945
Fixes controller DI
2015-10-12 15:52:19 +02:00
0407407b76
fix coding style to follow PSR-2
2015-10-05 13:58:47 +06:00
b7020065c8
Fixes #9476 : Added DI injection via controller action method signature
2015-09-27 19:35:43 +03:00
ae42a054bb
PSR-2 spaces, commas, etc
2015-06-09 00:05:06 +03:00
32bc19ae9b
Updated web/Controller.php, simplified code design
...
close #8387
2015-05-13 12:53:44 +02:00
af7ae33d5b
Use (array) cast instead of !is_array check for both readability and performance
2015-02-08 17:56:14 +03:00
f1edafffaf
PHPDoc comment doesn't contain all necessary @throws tag
...
close #5762
2014-10-25 12:47:08 +02:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
4717571e22
improved docs about goBack()
...
fixes #4343
2014-07-17 20:45:44 +02:00
a07b4afea6
Update Controller.php
2014-05-18 02:56:38 +07:00
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
d4ad533d48
moved error handling related methods from app to errorhandler
2014-03-28 19:57:11 +01:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00