Completed
Pull Request — master (#237)
by Fabian
02:16
created
src/Drupal/DrupalExtension/Context/RawDrupalContext.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
    *   out' link text.
138 138
    * @throws \Exception
139 139
    * @return
140
-   */
140
+   string
141 141
   public function getDrupalText($name) {
142 142
     $text = $this->getDrupalParameter('text');
143 143
     if (!isset($text[$name])) {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
   /**
150 150
    * Returns a specific css selector.
151 151
    *
152
-   * @param $name
152
+   * @param string $name
153 153
    *   string CSS selector name
154 154
    */
155 155
   public function getDrupalSelector($name) {
@@ -162,6 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
   /**
164 164
    * Get active Drupal Driver.
165
+   * @param string $name
165 166
    */
166 167
   public function getDriver($name = NULL) {
167 168
     return $this->getDrupal()->getDriver($name);
@@ -282,9 +283,9 @@  discard block
 block discarded – undo
282 283
   /**
283 284
    * Dispatch scope hooks.
284 285
    *
285
-   * @param string $scope
286
+   * @param string $scopeType
286 287
    *   The entity scope to dispatch.
287
-   * @param stdClass $entity
288
+   * @param \stdClass $entity
288 289
    *   The entity.
289 290
    */
290 291
   protected function dispatchHooks($scopeType, \stdClass $entity) {
Please login to merge, or discard this patch.