@@ -51,7 +51,7 @@ public function getFunctions()
51
51
*
52
52
* @param string $uri The relation URI
53
53
* @param string $rel The relation type (e.g. "preload", "prefetch", "prerender" or "dns-prefetch")
54
- * @param array $attributes The attributes of this link (e.g. "array( 'as' => true) ", "array( 'pr' => 0.5) ")
54
+ * @param array $attributes The attributes of this link (e.g. "[ 'as' => true] ", "[ 'pr' => 0.5] ")
55
55
*
56
56
* @return string The relation URI
57
57
*/
@@ -76,7 +76,7 @@ public function link($uri, $rel, array $attributes = [])
76
76
* Preloads a resource.
77
77
*
78
78
* @param string $uri A public path
79
- * @param array $attributes The attributes of this link (e.g. "array( 'as' => true) ", "array( 'crossorigin' => 'use-credentials') ")
79
+ * @param array $attributes The attributes of this link (e.g. "[ 'as' => true] ", "[ 'crossorigin' => 'use-credentials'] ")
80
80
*
81
81
* @return string The path of the asset
82
82
*/
@@ -89,7 +89,7 @@ public function preload($uri, array $attributes = [])
89
89
* Resolves a resource origin as early as possible.
90
90
*
91
91
* @param string $uri A public path
92
- * @param array $attributes The attributes of this link (e.g. "array( 'as' => true) ", "array( 'pr' => 0.5) ")
92
+ * @param array $attributes The attributes of this link (e.g. "[ 'as' => true] ", "[ 'pr' => 0.5] ")
93
93
*
94
94
* @return string The path of the asset
95
95
*/
@@ -102,7 +102,7 @@ public function dnsPrefetch($uri, array $attributes = [])
102
102
* Initiates a early connection to a resource (DNS resolution, TCP handshake, TLS negotiation).
103
103
*
104
104
* @param string $uri A public path
105
- * @param array $attributes The attributes of this link (e.g. "array( 'as' => true) ", "array( 'pr' => 0.5) ")
105
+ * @param array $attributes The attributes of this link (e.g. "[ 'as' => true] ", "[ 'pr' => 0.5] ")
106
106
*
107
107
* @return string The path of the asset
108
108
*/
@@ -115,7 +115,7 @@ public function preconnect($uri, array $attributes = [])
115
115
* Indicates to the client that it should prefetch this resource.
116
116
*
117
117
* @param string $uri A public path
118
- * @param array $attributes The attributes of this link (e.g. "array( 'as' => true) ", "array( 'pr' => 0.5) ")
118
+ * @param array $attributes The attributes of this link (e.g. "[ 'as' => true] ", "[ 'pr' => 0.5] ")
119
119
*
120
120
* @return string The path of the asset
121
121
*/
@@ -128,7 +128,7 @@ public function prefetch($uri, array $attributes = [])
128
128
* Indicates to the client that it should prerender this resource .
129
129
*
130
130
* @param string $uri A public path
131
- * @param array $attributes The attributes of this link (e.g. "array( 'as' => true) ", "array( 'pr' => 0.5) ")
131
+ * @param array $attributes The attributes of this link (e.g. "[ 'as' => true] ", "[ 'pr' => 0.5] ")
132
132
*
133
133
* @return string The path of the asset
134
134
*/
0 commit comments