@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * @param string $method |
| 39 | 39 | * @param array $args |
| 40 | 40 | * @throws InvalidComponentMethodException |
| 41 | - * @return object |
|
| 41 | + * @return MockComponent |
|
| 42 | 42 | */ |
| 43 | 43 | public function __call(string $method, $args) |
| 44 | 44 | { |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | * <a-scene><a-assets><audio> |
| 60 | 60 | * |
| 61 | 61 | * @param string $id |
| 62 | - * @return AssetAudioInterface |
|
| 62 | + * @return \AframeVR\Interfaces\Core\Assets\AssetAudioInterface |
|
| 63 | 63 | */ |
| 64 | 64 | public function audio(string $id = 'untitled'): AssetAudioInterface |
| 65 | 65 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * <a-scene><a-assets><img> |
| 71 | 71 | * |
| 72 | 72 | * @param string $id |
| 73 | - * @return AssetImageInterface |
|
| 73 | + * @return \AframeVR\Interfaces\Core\Assets\AssetImageInterface |
|
| 74 | 74 | */ |
| 75 | 75 | public function img(string $id = 'untitled'): AssetImageInterface |
| 76 | 76 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * <a-scene><a-assets><a-asset-item> |
| 82 | 82 | * |
| 83 | 83 | * @param string $id |
| 84 | - * @return AssetItemInterface |
|
| 84 | + * @return \AframeVR\Interfaces\Core\Assets\AssetItemInterface |
|
| 85 | 85 | */ |
| 86 | 86 | public function item(string $id = 'untitled'): AssetItemInterface |
| 87 | 87 | { |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | * <a-scene><a-assets><video> |
| 93 | 93 | * |
| 94 | 94 | * @param string $id |
| 95 | - * @return AssetVideoInterface |
|
| 95 | + * @return \AframeVR\Interfaces\Core\Assets\AssetVideoInterface |
|
| 96 | 96 | */ |
| 97 | 97 | public function video(string $id = 'untitled'): AssetVideoInterface |
| 98 | 98 | { |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | * mixin directly on element using this mixin. |
| 107 | 107 | * |
| 108 | 108 | * @param string $id |
| 109 | - * @return MixinInterface |
|
| 109 | + * @return \AframeVR\Interfaces\Core\Assets\MixinInterface |
|
| 110 | 110 | */ |
| 111 | 111 | public function mixin(string $id = 'untitled'): MixinInterface |
| 112 | 112 | { |
@@ -46,9 +46,8 @@ |
||
| 46 | 46 | * look-controls enabled |
| 47 | 47 | * Whether look controls are enabled. |
| 48 | 48 | * |
| 49 | - * @param array $dom_attributes |
|
| 50 | 49 | * @param bool $enabled |
| 51 | - * @return LookControlsAbstract |
|
| 50 | + * @return LookControlsInterface |
|
| 52 | 51 | */ |
| 53 | 52 | public function enabled( bool $enabled = true): LookControlsInterface |
| 54 | 53 | { |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * |
| 119 | 119 | * {@inheritdoc} |
| 120 | 120 | * |
| 121 | - * @param int|float $near |
|
| 121 | + * @param double $near |
|
| 122 | 122 | * @return CameraInterface |
| 123 | 123 | */ |
| 124 | 124 | public function near(float $near = 0.5): CameraInterface |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | /** |
| 63 | 63 | * camera.near |
| 64 | 64 | * |
| 65 | - * @param int|float $near |
|
| 65 | + * @param double $near |
|
| 66 | 66 | * @return CameraInterface |
| 67 | 67 | */ |
| 68 | 68 | public function near(float $near = 0.5): CameraInterface; |