Commit 904b0de0 authored by alexpott's avatar alexpott
Browse files

Issue #2700661 by anoopjohn: Ensure core compliance to...

Issue #2700661 by anoopjohn: Ensure core compliance to Drupal.Commenting.FunctionComment.ParamCommentIndentation (part 1).
parent 1516faf6
......@@ -56,7 +56,7 @@ public function getInfo() {
* rendering to ensure that it is built only if it will be displayed.
*
* @param array $element
* A renderable array.
* A renderable array.
*
* @return array
* A renderable array.
......
......@@ -11,7 +11,7 @@ class TourTestController {
* Outputs some content for testing tours.
*
* @param string $locale
* (optional) Dummy locale variable for testing routing parameters. Defaults
* (optional) Dummy locale variable for testing routing parameters. Defaults
* to 'foo'.
*
* @return array
......
......@@ -304,7 +304,7 @@ function _tracker_calculate_changed($node) {
* Cleans up indexed data when nodes or comments are removed.
*
* @param int $nid
* The node ID.
* The node ID.
* @param int $uid
* The author of the node or comment.
* @param int $changed
......
......@@ -34,7 +34,7 @@ class UpdateManagerUpdate extends FormBase {
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
* The module handler.
* @param \Drupal\Core\State\StateInterface $state
* The state service.
* The state service.
*/
public function __construct(ModuleHandlerInterface $module_handler, StateInterface $state) {
$this->moduleHandler = $module_handler;
......
......@@ -30,7 +30,7 @@ class UpdateRootFactory {
* @param \Drupal\Core\DrupalKernelInterface $drupal_kernel
* The Drupal kernel.
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
* The request stack.
* The request stack.
*/
public function __construct(DrupalKernelInterface $drupal_kernel, RequestStack $request_stack) {
$this->drupalKernel = $drupal_kernel;
......
......@@ -101,7 +101,7 @@ public static function create(ContainerInterface $container) {
* Loads and renders a view via AJAX.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* The current request object.
* The current request object.
*
* @return \Drupal\views\Ajax\ViewAjaxResponse
* The view response as ajax response.
......
......@@ -93,7 +93,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
* Performs any operations needed before full rendering.
*
* @param array $results
* The results of the view.
* The results of the view.
*/
public function preRender(array $results) {
}
......
......@@ -143,11 +143,11 @@ public function query() {
* Add 'additional' fields to the query.
*
* @param $fields
* An array of fields. The key is an identifier used to later find the
* field alias used. The value is either a string in which case it's
* assumed to be a field on this handler's table; or it's an array in the
* form of
* @code array('table' => $tablename, 'field' => $fieldname) @endcode
* An array of fields. The key is an identifier used to later find the
* field alias used. The value is either a string in which case it's
* assumed to be a field on this handler's table; or it's an array in the
* form of
* @code array('table' => $tablename, 'field' => $fieldname) @endcode
*/
protected function addAdditionalFields($fields = NULL) {
if (!isset($fields)) {
......
......@@ -45,7 +45,7 @@ protected function assertIdenticalResultset($view, $expected_result, $column_map
* An expected result set.
* @param array $column_map
* (optional) An associative array mapping the columns of the result set
* from the view (as keys) and the expected result set (as values).
* from the view (as keys) and the expected result set (as values).
* @param string $message
* (optional) A custom message to display with the assertion. Defaults to
* 'Non-identical result set.'
......
......@@ -278,21 +278,21 @@ public static function getDisabledViews() {
* checkboxes and radios as #options.
*
* @param bool $views_only
* If TRUE, only return views, not displays.
* If TRUE, only return views, not displays.
* @param string $filter
* Filters the views on status. Can either be 'all' (default), 'enabled' or
* 'disabled'
* Filters the views on status. Can either be 'all' (default), 'enabled' or
* 'disabled'
* @param mixed $exclude_view
* view or current display to exclude
* either a
* - views object (containing $exclude_view->storage->name and $exclude_view->current_display)
* - views name as string: e.g. my_view
* - views name and display id (separated by ':'): e.g. my_view:default
* view or current display to exclude
* either a
* - views object (containing $exclude_view->storage->name and $exclude_view->current_display)
* - views name as string: e.g. my_view
* - views name and display id (separated by ':'): e.g. my_view:default
* @param bool $optgroup
* If TRUE, returns an array with optgroups for each view (will be ignored for
* $views_only = TRUE). Can be used by select
* If TRUE, returns an array with optgroups for each view (will be ignored for
* $views_only = TRUE). Can be used by select
* @param bool $sort
* If TRUE, the list of views is sorted ascending.
* If TRUE, the list of views is sorted ascending.
*
* @return array
* an associative array for use in select.
......
......@@ -1110,7 +1110,7 @@ class RecursivePlaceholdersTest {
* #lazy_builder callback; bubbles another placeholder.
*
* @param string $animal
* An animal.
* An animal.
*
* @return array
* A renderable array.
......
......@@ -258,7 +258,7 @@ class PlaceholdersTest {
* #lazy_builder callback; attaches setting, generates markup.
*
* @param string $animal
* An animal.
* An animal.
*
* @return array
* A renderable array.
......@@ -282,7 +282,7 @@ public static function callback($animal, $use_animal_as_array_key = FALSE) {
* #lazy_builder callback; attaches setting, generates markup, user-specific.
*
* @param string $animal
* An animal.
* An animal.
*
* @return array
* A renderable array.
......@@ -297,7 +297,7 @@ public static function callbackPerUser($animal) {
* #lazy_builder callback; attaches setting, generates markup, cache tag.
*
* @param string $animal
* An animal.
* An animal.
*
* @return array
* A renderable array.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment