Skip to content

Commit

Permalink
Fix phpcs errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Timon de Groot committed Oct 11, 2019
1 parent 72874de commit e9fc07a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -1355,10 +1355,12 @@ public function printShortUsage($return=false)

}//end printShortUsage()


/**
* Suggest a sniff code by only combining first three elements.
*
* @param string $sniff
* @param string $sniff Sniff code
*
* @return string
*/
public function getSuggestedSniffCode($sniff)
Expand All @@ -1367,7 +1369,9 @@ public function getSuggestedSniffCode($sniff)
$elements = array_slice($elements, 0, 3);

return implode('.', $elements);
}

}//end getSuggestedSniffCode()


/**
* Prints out the usage information for PHPCS.
Expand Down

0 comments on commit e9fc07a

Please sign in to comment.