@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * |
| 60 | 60 | * Delay (in milliseconds) or event name to wait on before beginning animation |
| 61 | 61 | * |
| 62 | - * @param mixed $ms |
|
| 62 | + * @param integer $ms |
|
| 63 | 63 | * @return AnimationInterface |
| 64 | 64 | */ |
| 65 | 65 | public function begin($ms = 0): AnimationInterface |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * Light color |
| 61 | 61 | * |
| 62 | 62 | * @param string $color |
| 63 | - * @return void |
|
| 63 | + * @return LightCMPTIF |
|
| 64 | 64 | */ |
| 65 | 65 | public function color(string $color = '#fff'): LightCMPTIF |
| 66 | 66 | { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * Maximum extent of spot light from its direction (in degrees). |
| 75 | 75 | * |
| 76 | 76 | * @param float $angle |
| 77 | - * @return LightPrimitiveIF |
|
| 77 | + * @return LightCMPTIF |
|
| 78 | 78 | */ |
| 79 | 79 | public function angle(float $angle = 60): LightCMPTIF |
| 80 | 80 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * Amount the light dims along the distance of the light. |
| 87 | 87 | * |
| 88 | 88 | * @param int $decay |
| 89 | - * @return LightPrimitiveIF |
|
| 89 | + * @return LightCMPTIF |
|
| 90 | 90 | */ |
| 91 | 91 | public function decay(int $decay = 1): LightCMPTIF |
| 92 | 92 | { |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | * Distance where intensity becomes 0. If distance is 0, then the point light does not decay with distance. |
| 101 | 101 | * |
| 102 | 102 | * @param float $distance |
| 103 | - * @return LightPrimitiveIF |
|
| 103 | + * @return LightCMPTIF |
|
| 104 | 104 | */ |
| 105 | 105 | public function distance(float $distance = 0.0): LightCMPTIF |
| 106 | 106 | { |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | * Rapidity of falloff of light from its target direction. |
| 115 | 115 | * |
| 116 | 116 | * @param float $exponent |
| 117 | - * @return LightPrimitiveIF |
|
| 117 | + * @return LightCMPTIF |
|
| 118 | 118 | */ |
| 119 | 119 | public function exponent(float $exponent = 10.0): LightCMPTIF |
| 120 | 120 | { |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * Light color from below. |
| 127 | 127 | * |
| 128 | 128 | * @param string $ground_color |
| 129 | - * @return LightPrimitiveIF |
|
| 129 | + * @return LightCMPTIF |
|
| 130 | 130 | */ |
| 131 | 131 | public function groundColor(string $ground_color = '#fff'): LightCMPTIF |
| 132 | 132 | { |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | * Light strength. |
| 139 | 139 | * |
| 140 | 140 | * @param float $intensity |
| 141 | - * @return LightPrimitiveIF |
|
| 141 | + * @return LightCMPTIF |
|
| 142 | 142 | */ |
| 143 | 143 | public function intensity(float $intensity = 1.0): LightCMPTIF |
| 144 | 144 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * |
| 43 | 43 | * Delay (in milliseconds) or event name to wait on before beginning animation |
| 44 | 44 | * |
| 45 | - * @param mixed $ms |
|
| 45 | + * @param integer $ms |
|
| 46 | 46 | * @return AnimationInterface |
| 47 | 47 | */ |
| 48 | 48 | public function begin($ms = 0): AnimationInterface; |