Commit 27659d17 by Carsten Brandt

fixed FileHelper private method static call

parent 67dd874e
......@@ -64,6 +64,7 @@ class ArrayDataProvider extends BaseDataProvider
*/
public $allModels;
/**
* @inheritdoc
*/
......
......@@ -91,6 +91,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface
*/
public $joinWith;
/**
* Executes query and returns all results as an array.
* @param Connection $db the DB connection used to create the DB command.
......
......@@ -285,14 +285,14 @@ class BaseFileHelper
if (isset($options['except'])) {
foreach ($options['except'] as $key => $value) {
if (is_string($value)) {
$options['except'][$key] = static::parseExcludePattern($value);
$options['except'][$key] = self::parseExcludePattern($value);
}
}
}
if (isset($options['only'])) {
foreach ($options['only'] as $key => $value) {
if (is_string($value)) {
$options['only'][$key] = static::parseExcludePattern($value);
$options['only'][$key] = self::parseExcludePattern($value);
}
}
}
......
......@@ -124,8 +124,8 @@ class Request extends \yii\base\Request
*/
public $enableCookieValidation = true;
/**
* @var string|boolean the name of the POST parameter that is used to indicate if a request is a PUT, PATCH or DELETE
* request tunneled through POST. Default to '_method'.
* @var string the name of the POST parameter that is used to indicate if a request is a PUT, PATCH or DELETE
* request tunneled through POST. Defaults to '_method'.
* @see getMethod()
* @see getBodyParams()
*/
......
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