@@ -74,7 +74,7 @@ public static function add( string $slug, string $url, ?string $type = null, $ve
7474 *
7575 * @param string $version The asset version.
7676 *
77- * @return $this
77+ * @return static
7878 */
7979 public function set_version ( string $ version ): self {
8080 $ this ->version = $ version ;
@@ -138,8 +138,8 @@ public function get_min_url(): string {
138138 /**
139139 * Get the formatted version of the URL.
140140 *
141- * This will replace the version placeholder in the URL with the actual version. If there
142- * is no placeholder, it will append the version as a query string.
141+ * This will replace the version placeholder in the URL with the actual version.
142+ * If there is no placeholder, it will append the version as a query string.
143143 *
144144 * @return string
145145 */
@@ -246,7 +246,7 @@ public function set_asset_file( string $path ) {
246246 * @param ?string $path The path to the minified file.
247247 * @param ?bool $prefix Whether to prefix files automatically by type (e.g. js/ for JS). Defaults to true.
248248 *
249- * @return $this
249+ * @return static
250250 */
251251 public function set_path ( ?string $ path = null , $ prefix = null ) {
252252 return $ this ;
@@ -257,7 +257,7 @@ public function set_path( ?string $path = null, $prefix = null ) {
257257 *
258258 * @param ?string $path The path to the minified file.
259259 *
260- * @return $this
260+ * @return static
261261 */
262262 public function set_min_path ( ?string $ path = null ) {
263263 return $ this ;
@@ -268,7 +268,7 @@ public function set_min_path( ?string $path = null ) {
268268 *
269269 * @param boolean $_unused Whether to use an .asset.php file.
270270 *
271- * @return self
271+ * @return static
272272 */
273273 public function use_asset_file ( bool $ _unused = true ): self {
274274 return $ this ;
0 commit comments