Skip to content

Commit 95ab1e0

Browse files
chore: phpstan
1 parent a404964 commit 95ab1e0

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

inc/conflicts/autoptimize.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ public function __construct() {
1818
/**
1919
* Set the message property
2020
*
21-
* @since 2.0.6
21+
* @since 4.1.0
2222
* @access public
23+
* @return void
2324
*/
2425
public function define_message() {
2526
$this->message = sprintf(

inc/conflicts/litespeed.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ public function __construct() {
1818
/**
1919
* Set the message property
2020
*
21-
* @since 2.0.6
21+
* @since 4.1.0
2222
* @access public
23+
* @return void
2324
*/
2425
public function define_message() {
2526
$this->message = sprintf(

inc/conflicts/perfmatters.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ public function __construct() {
1818
/**
1919
* Set the message property
2020
*
21-
* @since 2.0.6
21+
* @since 4.1.0
2222
* @access public
23+
* @return void
2324
*/
2425
public function define_message() {
2526
$this->message = sprintf(

inc/conflicts/smush.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ public function __construct() {
1818
/**
1919
* Set the message property
2020
*
21-
* @since 2.0.6
21+
* @since 4.1.0
2222
* @access public
23+
* @return void
2324
*/
2425
public function define_message() {
2526
$this->message = sprintf(

phpstan-baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,12 +1434,6 @@ parameters:
14341434
count: 1
14351435
path: inc/conflicts/divi.php
14361436

1437-
-
1438-
message: '#^Method Optml_Jetpack_Lazyload\:\:define_message\(\) has no return type specified\.$#'
1439-
identifier: missingType.return
1440-
count: 1
1441-
path: inc/conflicts/jetpack_lazyload.php
1442-
14431437
-
14441438
message: '#^Method Optml_Jetpack_Photon\:\:define_message\(\) has no return type specified\.$#'
14451439
identifier: missingType.return

0 commit comments

Comments
 (0)