*
* @var \Drupal\Core\Session\AccountInterface
*/
- protected $currentUser;
+ protected $currentUser;
/**
* Constructs the default content manager.
* @param \Drupal\Core\Session|AccountInterface $current_user
* The current user.
*/
- public function __construct(AccountInterface $current_user) {
- $this->currentUser = $current_user;
- }
+ public function __construct(AccountInterface $current_user)
+ {
+ $this->currentUser = $current_user;
+ }
/**
* Woof mightily. Note that we can include commands directly
* @command woof
* @aliases wf
*/
- public function woof()
- {
- return 'Woof!';
- }
+ public function woof()
+ {
+ return 'Woof!';
+ }
}