Browse Source

added missing @since annotations

tags/2.0.16
Carsten Brandt 6 years ago
parent
commit
768d590eef
  1. 3
      framework/base/DynamicModel.php
  2. 6
      framework/data/ActiveDataProvider.php
  3. 2
      framework/data/BaseDataProvider.php
  4. 2
      framework/helpers/BaseHtml.php
  5. 3
      framework/helpers/BaseStringHelper.php
  6. 1
      framework/mutex/RetryAcquireTrait.php

3
framework/base/DynamicModel.php

@ -142,7 +142,8 @@ class DynamicModel extends Model
/**
* Returns a value indicating whether the model has an attribute with the specified name.
* @param string $name the name of the attribute
* @return bool whether the model has an attribute with the specified name
* @return bool whether the model has an attribute with the specified name.
* @since 2.0.16
*/
public function hasAttribute($name)
{

6
framework/data/ActiveDataProvider.php

@ -196,13 +196,13 @@ class ActiveDataProvider extends BaseDataProvider
}
}
}
public function __clone()
public function __clone()
{
if (is_object($this->query)) {
$this->query = clone $this->query;
}
parent::__clone();
}
}

2
framework/data/BaseDataProvider.php

@ -47,7 +47,7 @@ abstract class BaseDataProvider extends Component implements DataProviderInterfa
private $_sort;
/**
* @var Pagination|false $_pagination
* @var Pagination|false
*/
private $_pagination;
private $_keys;

2
framework/helpers/BaseHtml.php

@ -928,6 +928,7 @@ class BaseHtml
* - unselect: string, the value that should be submitted when none of the checkboxes is selected.
* By setting this option, a hidden input will be generated.
* - disabled: boolean, whether the generated by unselect option hidden input should be disabled. Defaults to false.
* This option is available since version 2.0.16.
* - encode: boolean, whether to HTML-encode the checkbox labels. Defaults to true.
* This option is ignored if `item` option is set.
* - separator: string, the HTML code that separates items.
@ -1017,6 +1018,7 @@ class BaseHtml
* - unselect: string, the value that should be submitted when none of the radio buttons is selected.
* By setting this option, a hidden input will be generated.
* - disabled: boolean, whether the generated by unselect option hidden input should be disabled. Defaults to false.
* This option is available since version 2.0.16.
* - encode: boolean, whether to HTML-encode the checkbox labels. Defaults to true.
* This option is ignored if `item` option is set.
* - separator: string, the HTML code that separates items.

3
framework/helpers/BaseStringHelper.php

@ -441,8 +441,9 @@ class BaseStringHelper
*
* @param string $string the string to be proceeded
* @param string $encoding Optional, defaults to "UTF-8"
* @see http://php.net/manual/en/function.ucwords.php
* @return string
* @see http://php.net/manual/en/function.ucwords.php
* @since 2.0.16
*/
public static function mb_ucwords($string, $encoding = 'UTF-8')
{

1
framework/mutex/RetryAcquireTrait.php

@ -14,6 +14,7 @@ use Closure;
*
* @author Robert Korulczyk <robert@korulczyk.pl>
* @internal
* @since 2.0.16
*/
trait RetryAcquireTrait
{

Loading…
Cancel
Save