Skip to content

Commit ea9bb95

Browse files
committed
phpcs
1 parent 2516a31 commit ea9bb95

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

lib/Varien/Data/Collection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ public function __construct() {}
101101
/**
102102
* Add collection filter
103103
*
104-
* @param string $field
105-
* @param array|int|string $value
106-
* @param string $type and|or|string
104+
* @param string $field The field to filter on
105+
* @param array|int|string $value The value to filter by
106+
* @param string $type Logical operator for the filter ('and' or 'or'). Default is 'and'
107107
* @return $this
108108
*/
109109
public function addFilter($field, $value, $type = 'and')

lib/Varien/Directory/Collection.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -440,12 +440,7 @@ protected function _renderFilters()
440440
}
441441

442442
/**
443-
* Add a filter to the collection.
444-
*
445-
* @param string $field The field to filter on
446-
* @param mixed $value The value to filter by
447-
* @param string $type Logical operator for the filter ('and' or 'or'). Default is 'and'
448-
* @return $this
443+
* @inheritDoc
449444
*/
450445
public function addFilter($field, $value, $type = 'and')
451446
{

0 commit comments

Comments
 (0)