@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * <a-scene><a-assets><audio> |
53 | 53 | * |
54 | 54 | * @param string $id |
55 | - * @return \AframeVR\Interfaces\Core\Assets\ItemInterface |
|
55 | + * @return \AframeVR\Interfaces\Core\Assets\AssetAudioInterface |
|
56 | 56 | */ |
57 | 57 | public function audio(string $id = 'untitled'): AssetAudioInterface |
58 | 58 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * <a-scene><a-assets><img> |
64 | 64 | * |
65 | 65 | * @param string $id |
66 | - * @return \AframeVR\Interfaces\Core\Assets\ItemInterface |
|
66 | + * @return \AframeVR\Interfaces\Core\Assets\AssetImageInterface |
|
67 | 67 | */ |
68 | 68 | public function img(string $id = 'untitled'): AssetImageInterface |
69 | 69 | { |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * <a-scene><a-assets><a-asset-item> |
75 | 75 | * |
76 | 76 | * @param string $id |
77 | - * @return \AframeVR\Interfaces\Core\Assets\ItemInterface |
|
77 | + * @return \AframeVR\Interfaces\Core\Assets\AssetItemInterface |
|
78 | 78 | */ |
79 | 79 | public function item(string $id = 'untitled'): AssetItemInterface |
80 | 80 | { |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * <a-scene><a-assets><video> |
86 | 86 | * |
87 | 87 | * @param string $id |
88 | - * @return \AframeVR\Interfaces\Core\Assets\ItemInterface |
|
88 | + * @return \AframeVR\Interfaces\Core\Assets\AssetVideoInterface |
|
89 | 89 | */ |
90 | 90 | public function video(string $id = 'untitled'): AssetVideoInterface |
91 | 91 | { |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | /** |
88 | 88 | * Create Closure to mock compnent to be aplied to entity using this mixin |
89 | 89 | * |
90 | - * @return object |
|
90 | + * @return anonymous//src/Core/Assets/Mixin.php@return object |
|
91 | 91 | */ |
92 | 92 | protected function componentClosure() |
93 | 93 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | * @param string $method |
107 | 107 | * @param array $args |
108 | 108 | * @throws InvalidComponentMethodException |
109 | - * @return object |
|
109 | + * @return anonymous//src/Core/Assets/Mixin.php@return object |
|
110 | 110 | */ |
111 | 111 | public function __call(string $method, $args) |
112 | 112 | { |
@@ -103,7 +103,7 @@ |
||
103 | 103 | /** |
104 | 104 | * Set Dom element name |
105 | 105 | * |
106 | - * @param string $element_name |
|
106 | + * @param string $element_tag |
|
107 | 107 | * @return void |
108 | 108 | */ |
109 | 109 | public function setDomElementTag(string $element_tag) |
@@ -29,8 +29,7 @@ discard block |
||
29 | 29 | /** |
30 | 30 | * Set crossorigin attribute of the video |
31 | 31 | * |
32 | - * @param string $id |
|
33 | - * @return void |
|
32 | + * @return AssetVideoInterface |
|
34 | 33 | */ |
35 | 34 | public function crossorigin(string $crossorigin = 'anonymous'): AssetVideoInterface; |
36 | 35 | |
@@ -38,7 +37,7 @@ discard block |
||
38 | 37 | * Autoplay video |
39 | 38 | * |
40 | 39 | * @param bool $autoplay |
41 | - * @return void |
|
40 | + * @return AssetVideoInterface |
|
42 | 41 | */ |
43 | 42 | public function autoplay(bool $autoplay = true): AssetVideoInterface; |
44 | 43 | |
@@ -46,7 +45,7 @@ discard block |
||
46 | 45 | * Preload video |
47 | 46 | * |
48 | 47 | * @param string $preload |
49 | - * @return void |
|
48 | + * @return AssetVideoInterface |
|
50 | 49 | */ |
51 | 50 | public function preload(string $preload = 'auto'): AssetVideoInterface; |
52 | 51 | } |