Skip to content

Commit 650cd7d

Browse files
committed
PHPCS: fix up the code base [2] - scope modifiers
Fixes relate to the following rules: * Always specify visibility for all class properties and methods.
1 parent 155a1f4 commit 650cd7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Scaffold_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ public function _s( $args, $assoc_args ) {
490490
*
491491
* @subcommand child-theme
492492
*/
493-
function child_theme( $args, $assoc_args ) {
493+
public function child_theme( $args, $assoc_args ) {
494494
$theme_slug = $args[0];
495495

496496
if ( in_array( $theme_slug, array( '.', '..' ) ) ) {
@@ -634,7 +634,7 @@ private function get_output_path( $assoc_args, $subdir ) {
634634
* Success: Created plugin files.
635635
* Success: Created test files.
636636
*/
637-
function plugin( $args, $assoc_args ) {
637+
public function plugin( $args, $assoc_args ) {
638638
$plugin_slug = $args[0];
639639
$plugin_name = ucwords( str_replace( '-', ' ', $plugin_slug ) );
640640
$plugin_package = str_replace( ' ', '_', $plugin_name );

0 commit comments

Comments
 (0)