Skip to content

Commit

Permalink
Issue #39: Return value obtained in State::get
Browse files Browse the repository at this point in the history
  • Loading branch information
omarlopesino committed Feb 4, 2019
1 parent 9970f0a commit 2d82030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Driver/Objects/Drupal8/State.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class State implements StateInterface {
* {@inheritdoc}
*/
public function get($key, $default = NULL) {
\Drupal::state()->get($key, $default);
return \Drupal::state()->get($key, $default);
}

/**
Expand Down

0 comments on commit 2d82030

Please sign in to comment.