Browse Source

Added missing PhpDoc

tags/2.0.0-beta
Alexander Makarov 13 years ago
parent
commit
15818c8c28
  1. 2
      framework/base/Component.php
  2. 1
      framework/base/Object.php
  3. 1
      framework/db/dao/ColumnSchema.php

2
framework/base/Component.php

@ -128,6 +128,7 @@ class Component extends Object
* will be implicitly called when executing `$component->property = $value;`.
* @param string $name the property name or the event name
* @param mixed $value the property value
* @return mixed value that was set
* @throws Exception if the property is not defined or read-only.
* @see __get
*/
@ -200,6 +201,7 @@ class Component extends Object
* Do not call this method directly as it is a PHP magic method that
* will be implicitly called when executing `unset($component->property)`.
* @param string $name the property name
* @return null
* @throws Exception if the property is read only.
*/
public function __unset($name)

1
framework/base/Object.php

@ -89,6 +89,7 @@ class Object
* will be implicitly called when executing `$object->property = $value;`.
* @param string $name the property name or the event name
* @param mixed $value the property value
* @return mixed value that was set
* @throws Exception if the property is not defined or read-only.
* @see __get
*/

1
framework/db/dao/ColumnSchema.php

@ -80,6 +80,7 @@ class ColumnSchema extends \yii\base\Component
/**
* Extracts the PHP type from DB type.
* @return string PHP type name.
*/
protected function getPhpType()
{

Loading…
Cancel
Save