| 1 | <?php |
||
| 23 | class Outline |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var Fill |
||
| 27 | */ |
||
| 28 | protected $fill; |
||
| 29 | /** |
||
| 30 | * @var int |
||
| 31 | */ |
||
| 32 | protected $width; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return void |
||
|
|
|||
| 36 | */ |
||
| 37 | 8 | public function __construct() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return Fill |
||
| 44 | */ |
||
| 45 | 6 | public function getFill() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @param Fill $fill |
||
| 52 | * @return Outline |
||
| 53 | */ |
||
| 54 | 1 | public function setFill(Fill $fill) |
|
| 59 | |||
| 60 | /** |
||
| 61 | * @return int |
||
| 62 | */ |
||
| 63 | 6 | public function getWidth() |
|
| 67 | |||
| 68 | /** |
||
| 69 | * Value in points |
||
| 70 | * @param int $width |
||
| 71 | * @return Outline |
||
| 72 | */ |
||
| 73 | 5 | public function setWidth($width) |
|
| 78 | } |
||
| 79 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.