Completed
Pull Request — master (#16)
by Sergii
03:45
created
src/Cores/8.php 2 patches
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@
 block discarded – undo
4 4
  */
5 5
 
6 6
 use Behat\Behat\Hook\Scope\BeforeFeatureScope;
7
-use Drupal\Core\Field\FieldDefinitionInterface;
7
+use Drupal\Component\Render\FormattableMarkup;
8
+use Drupal\Component\Serialization\Json;
9
+use Drupal\Core\Database\Query\Select;
8 10
 use Drupal\Core\Entity\FieldableEntityInterface;
11
+use Drupal\Core\Field\FieldDefinitionInterface;
9 12
 use Drupal\Core\Session\AccountInterface;
10
-use Drupal\Core\Database\Query\Select;
11 13
 use Drupal\Core\StringTranslation\TranslatableMarkup;
12
-use Drupal\Component\Render\FormattableMarkup;
13
-use Drupal\Component\Serialization\Json;
14 14
 use Drupal\TqExtension\Utils\Database\FetchField;
15 15
 
16 16
 // @codingStandardsIgnoreStart
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * {@inheritdoc}
45
+     * @param string $string
45 46
      */
46 47
     public static function formatString($string, array $args = [])
47 48
     {
@@ -50,6 +51,7 @@  discard block
 block discarded – undo
50 51
 
51 52
     /**
52 53
      * {@inheritdoc}
54
+     * @param string $text
53 55
      */
54 56
     public static function tokenReplace($text, array $data = [], array $options = [])
55 57
     {
@@ -75,7 +77,7 @@  discard block
 block discarded – undo
75 77
     /**
76 78
      * {@inheritdoc}
77 79
      *
78
-     * @param AccountInterface $user
80
+     * @param stdClass $user
79 81
      */
80 82
     public static function setCurrentUser($user)
81 83
     {
@@ -84,6 +86,7 @@  discard block
 block discarded – undo
84 86
 
85 87
     /**
86 88
      * {@inheritdoc}
89
+     * @param string $path
87 90
      */
88 91
     public static function setCurrentPath($path)
89 92
     {
Please login to merge, or discard this patch.