There is no need to use the final
modifier inside a final
class. Everything in it is final
by default.
See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31085 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
101e00314d
commit
14c2161a3b
@ -894,7 +894,7 @@ final class WP_Customize_Manager {
|
|||||||
* @param {WP_Customize_Panel|WP_Customize_Section|WP_Customize_Control} $b Object B.
|
* @param {WP_Customize_Panel|WP_Customize_Section|WP_Customize_Control} $b Object B.
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
protected final function _cmp_priority( $a, $b ) {
|
protected function _cmp_priority( $a, $b ) {
|
||||||
if ( $a->priority === $b->priority ) {
|
if ( $a->priority === $b->priority ) {
|
||||||
return $a->instance_number - $a->instance_number;
|
return $a->instance_number - $a->instance_number;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user