Skip to content

Commit

Permalink
Fix some Code Sniffer problems
Browse files Browse the repository at this point in the history
  • Loading branch information
bordoni committed Nov 1, 2024
1 parent 8fdefd8 commit 7e4682b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Tribe/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public function __construct() {
*
* @since TBD
*
* @param string $name
* @param string $name The property name we are looking for.
*
* @return mixed
*/
Expand All @@ -322,9 +322,9 @@ public function __get( $name ) {
'adminSlug' => 'admin_slug',
];

// Check if the requested property exists in the map
// Check if the requested property exists in the map.
if ( isset( $properties[ $name ] ) ) {
// Trigger deprecation notice for camel-case property names
// Trigger deprecation notice for camel-case property names.
trigger_deprecation(
__CLASS__,
'6.1.0',
Expand Down

0 comments on commit 7e4682b

Please sign in to comment.