PluginProbe
Elementor Website Builder – more than just a page builder / 3.9.1
Elementor Website Builder – more than just a page builder v3.9.1
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/stylesheet.php +3 -3 4.2.23.9.1 View file →
@@ -137,9 +137,9 @@
137 137 * @param array $query Optional. Media query. Default is `null`.
138 138 *
139 139 * @return Stylesheet The current stylesheet class instance.
140 140 */
141 - public function add_rules( $selector, $style_rules = null, ?array $query = null ) {
141 + public function add_rules( $selector, $style_rules = null, array $query = null ) {
142 142 $query_hash = 'all';
143 143
144 144 if ( $query ) {
145 145 $query_hash = $this->query_to_hash( $query );
@@ -387,12 +387,12 @@
387 387
388 388 /**
389 389 * Get query hash style format.
390 390 *
391 - * Retrieve formatted media query rule with the endpoint width settings.
391 + * Retrieve formated media query rule with the endpoint width settings.
392 392 *
393 393 * The method returns the CSS `@media` rule and supported viewport width in
394 - * pixels. It can also handle multiple width endpoints.
394 + * pixels. It can also handel multiple width endpoints.
395 395 *
396 396 * @since 1.2.0
397 397 * @access private
398 398 *