Commit 126b594c authored by alexpott's avatar alexpott

Issue #2921734 by TR: Fix ControllerBase stateService documentation

parent 13bfd9f3
...@@ -93,7 +93,7 @@ abstract class ControllerBase implements ContainerInjectionInterface { ...@@ -93,7 +93,7 @@ abstract class ControllerBase implements ContainerInjectionInterface {
/** /**
* The state service. * The state service.
* *
* @var \Drupal\Core\KeyValueStore\KeyValueStoreInterface * @var \Drupal\Core\State\StateInterface
*/ */
protected $stateService; protected $stateService;
...@@ -222,7 +222,7 @@ protected function keyValue($collection) { ...@@ -222,7 +222,7 @@ protected function keyValue($collection) {
* needs to be the same across development, production, etc. environments * needs to be the same across development, production, etc. environments
* (for example, the system maintenance message) should use config() instead. * (for example, the system maintenance message) should use config() instead.
* *
* @return \Drupal\Core\KeyValueStore\KeyValueStoreInterface * @return \Drupal\Core\State\StateInterface
*/ */
protected function state() { protected function state() {
if (!$this->stateService) { if (!$this->stateService) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment