PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/helpers/asset-helper.php +2 -2 18.7 → trunk View file →
@@ -28,15 +28,15 @@
28 28 * Recursively retrieves all dependencies of a given handle.
29 29 *
30 30 * @param string $handle The handle.
31 31 *
32 - * @return string[]|bool All dependencies of the given handle.
32 + * @return string[] All dependencies of the given handle.
33 33 */
34 34 public function get_dependency_handles( $handle ) {
35 35 $scripts = \wp_scripts();
36 36
37 37 if ( ! isset( $scripts->registered[ $handle ] ) ) {
38 - return false;
38 + return [];
39 39 }
40 40
41 41 $obj = $scripts->registered[ $handle ];
42 42 $deps = $obj->deps;