| 1 | <?php defined('SYSPATH') OR die('No direct script access.'); |
||
| 9 | class Kohana_Model_Purchase_Item_Shipping extends Model_Purchase_Item { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @codeCoverageIgnore |
||
| 13 | */ |
||
| 14 | public static function initialize(Jam_Meta $meta) |
||
| 26 | |||
| 27 | 2 | public function get_price() |
|
| 32 | |||
| 33 | 1 | public function performFreeze() |
|
| 42 | |||
| 43 | public function performUnfreeze() |
||
| 52 | } |
||
| 53 |
Since your code implements the magic getter
_get, this function will be called for any read access on an undefined variable. You can add the@propertyannotation to your class or interface to document the existence of this variable.If the property has read access only, you can use the @property-read annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.