Issue #2921734 by TR: Fix ControllerBase stateService documentation

merge-requests/1654/head
Alex Pott 2018-03-14 23:45:37 +00:00
parent 13bfd9f309
commit 126b594c58
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ abstract class ControllerBase implements ContainerInjectionInterface {
/**
* The state service.
*
* @var \Drupal\Core\KeyValueStore\KeyValueStoreInterface
* @var \Drupal\Core\State\StateInterface
*/
protected $stateService;
@ -222,7 +222,7 @@ abstract class ControllerBase implements ContainerInjectionInterface {
* needs to be the same across development, production, etc. environments
* (for example, the system maintenance message) should use config() instead.
*
* @return \Drupal\Core\KeyValueStore\KeyValueStoreInterface
* @return \Drupal\Core\State\StateInterface
*/
protected function state() {
if (!$this->stateService) {