Skip to content

Commit

Permalink
PHPCS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jhedstrom committed Sep 22, 2016
1 parent 7b3ef84 commit 31da4ef
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion message_subscribe_email/src/EventSubscriber/FlagEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class FlagEvents implements EventSubscriberInterface {
/**
* The flag service.
*
* @var \Drupal\flag\FlagServiceInterface $flag_service
* @var \Drupal\flag\FlagServiceInterface
*/
protected $flagService;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

namespace Drupal\Tests\message_subscribe_email\Kernel;

use Drupal\Core\Access\AccessResultAllowed;
use Drupal\Core\Access\AccessResultForbidden;
use Drupal\Core\Access\AccessResultNeutral;
use Drupal\message\Entity\Message;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function tabTitle(FlagInterface $flag) {
* @param \Drupal\flag\FlagInterface $flag
* The flag to display subscriptions for.
*
* @return array A render array.
* @return array
* A render array.
*/
public function tab(UserInterface $user, FlagInterface $flag = NULL) {
Expand Down
2 changes: 1 addition & 1 deletion src/SubscribersInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function getBasicContext(EntityInterface $entity, $skip_detailed_context
* (optional) The user account to filter available flags. If not set, all
* flags for the given entity and bundle will be returned.
*
* @return \Drupal\flag\FlagInterface[] $flags
* @return \Drupal\flag\FlagInterface[]
* An array of the structure [fid] = flag_object.
*
* @see \Drupal\flag\FlagServiceInterface::getFlags()
Expand Down

0 comments on commit 31da4ef

Please sign in to comment.