Completed
Push — 7.x-1.x ( dff1e0...77c4eb )
by Pol
04:34
created
lib/Drupal/Core/Database/Connection.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@  discard block
 block discarded – undo
76 76
     return $this->connection->makeComment($comments);
77 77
   }
78 78
 
79
+  /**
80
+   * @param string $query
81
+   */
79 82
   public function query($query, array $args = array(), $options = array()) {
80 83
     return $this->connection->query($query, $args, $options);
81 84
   }
@@ -84,26 +87,44 @@  discard block
 block discarded – undo
84 87
     return $this->connection->getDriverClass($class);
85 88
   }
86 89
 
90
+  /**
91
+   * @param string $table
92
+   */
87 93
   public function select($table, $alias = NULL, array $options = array()) {
88 94
     return $this->connection->select($table, $alias, $options);
89 95
   }
90 96
 
97
+  /**
98
+   * @param string $table
99
+   */
91 100
   public function insert($table, array $options = array()) {
92 101
     return $this->connection->insert($table, $options);
93 102
   }
94 103
 
104
+  /**
105
+   * @param string $table
106
+   */
95 107
   public function merge($table, array $options = array()) {
96 108
     return $this->connection->merge($table, $options);
97 109
   }
98 110
 
111
+  /**
112
+   * @param string $table
113
+   */
99 114
   public function update($table, array $options = array()) {
100 115
     return $this->connection->update($table, $options);
101 116
   }
102 117
 
118
+  /**
119
+   * @param string $table
120
+   */
103 121
   public function delete($table, array $options = array()) {
104 122
     return $this->connection->delete($table, $options);
105 123
   }
106 124
 
125
+  /**
126
+   * @param string $table
127
+   */
107 128
   public function truncate($table, array $options = array()) {
108 129
     return $this->connection->truncate($table, $options);
109 130
   }
@@ -116,6 +137,9 @@  discard block
 block discarded – undo
116 137
     return preg_replace('/[^A-Za-z0-9_.]+/', '', $database);
117 138
   }
118 139
 
140
+  /**
141
+   * @param string $table
142
+   */
119 143
   public function escapeTable($table) {
120 144
     return $this->connection->escapeTable($table);
121 145
   }
Please login to merge, or discard this patch.
lib/Drupal/Core/DependencyInjection/Dumper/PhpArrayDumper.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -223,7 +223,6 @@  discard block
 block discarded – undo
223 223
   /**
224 224
    * Returns a service alias definiton.
225 225
    *
226
-   * @param string $alias
227 226
    * @param Alias  $id
228 227
    *
229 228
    * @return string
@@ -352,6 +351,9 @@  discard block
 block discarded – undo
352 351
     return sprintf('%%%s%%', $id);
353 352
   }
354 353
 
354
+  /**
355
+   * @param string $expression
356
+   */
355 357
   protected function getExpressionCall($expression)
356 358
   {
357 359
     return sprintf('@=%s', $expression);
Please login to merge, or discard this patch.
lib/Drupal/Core/DependencyInjection/YamlFileLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     /**
57 57
      * Loads a Yaml file.
58 58
      *
59
-     * @param mixed  $file The resource
59
+     * @param string  $file The resource
60 60
      */
61 61
     public function load($file)
62 62
     {
Please login to merge, or discard this patch.
lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 namespace Drupal\Core\KeyValueStore;
9 9
 
10 10
 use Drupal\Component\Serialization\SerializationInterface;
11
-use Drupal\Core\DestructableInterface;
12 11
 use Drupal\Core\Database\Connection;
13 12
 
14 13
 /**
Please login to merge, or discard this patch.
Drupal/service_container/Tests/KeyValue/DatabaseStorageExpirableTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,9 +7,7 @@
 block discarded – undo
7 7
 
8 8
 namespace Drupal\service_container\Tests\KeyValue;
9 9
 
10
-use Drupal\Core\DependencyInjection\ContainerBuilder;
11 10
 use Drupal\Core\KeyValueStore\KeyValueExpirableFactory;
12
-use Drupal\Core\KeyValueStore\KeyValueFactory;
13 11
 
14 12
 /**
15 13
  * Tests the key-value database storage.
Please login to merge, or discard this patch.
lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     /**
267 267
      * Sets the default namespaces.
268 268
      *
269
-     * @param array $namespace
269
+     * @param string $namespace
270 270
      *
271 271
      * @return void
272 272
      *
@@ -1045,7 +1045,7 @@  discard block
 block discarded – undo
1045 1045
      * FieldAssignment ::= FieldName "=" PlainValue
1046 1046
      * FieldName ::= identifier
1047 1047
      *
1048
-     * @return array
1048
+     * @return \stdClass
1049 1049
      */
1050 1050
     private function FieldAssignment()
1051 1051
     {
Please login to merge, or discard this patch.
lib/Doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
      *                 parameter, none)
130 130
      *  - 'position' : the position of the token in the input string
131 131
      *
132
-     * @return array|null the next token; null if there is no more tokens left
132
+     * @return boolean the next token; null if there is no more tokens left
133 133
      */
134 134
     public function moveNext()
135 135
     {
Please login to merge, or discard this patch.
Tests/ServiceContainerAnnotationDiscoveryIntegrationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Drupal\Component\Plugin\PluginBase;
11 11
 use Drupal\service_container\Messenger\MessengerInterface;
12 12
 use Drupal\service_container\Tests\ServiceContainerIntegrationTestBase;
13
-use Mockery\CountValidator\Exception;
14 13
 use Symfony\Component\Yaml\Exception\RuntimeException;
15 14
 
16 15
 class ServiceContainerAnnotationDiscoveryIntegrationTest extends ServiceContainerIntegrationTestBase {
Please login to merge, or discard this patch.
lib/Symfony/Component/DependencyInjection/Container.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
      *
232 232
      * @param string $id The service identifier
233 233
      *
234
-     * @return bool true if the service is defined, false otherwise
234
+     * @return boolean|null true if the service is defined, false otherwise
235 235
      *
236 236
      * @api
237 237
      */
Please login to merge, or discard this patch.