Skip to content

Commit

Permalink
fix phpcs warnings
Browse files Browse the repository at this point in the history
hide warnings in phpcs
  • Loading branch information
antograssiot committed Jul 14, 2016
1 parent 0702f69 commit c26e93e
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/Shell/Task/CellTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function template()
* Bake the Cell class and template file.
*
* @param string $name The name of the cell to make.
* @return void
* @return string
*/
public function bake($name)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Shell/Task/ControllerTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ControllerTask extends BakeTask
* Execution method always used for tasks
*
* @param string|null $name The name of the controller to bake.
* @return void
* @return null|bool
*/
public function main($name = null)
{
Expand Down Expand Up @@ -189,7 +189,7 @@ public function bakeController($controllerName, array $data)
* Assembles and writes a unit test file
*
* @param string $className Controller class name
* @return string Baked test
* @return void|string Baked test
*/
public function bakeTest($className)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/Task/FixtureTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function getOptionParser()
* Handles dispatching to interactive, named, or all processes.
*
* @param string|null $name The name of the fixture to bake.
* @return void
* @return null|bool
*/
public function main($name = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/Task/MailerTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function template()
* Bake the Mailer class and html/text layout files.
*
* @param string $name The name of the mailer to make.
* @return void
* @return string
*/
public function bake($name)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Shell/Task/PluginTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function initialize()
* Execution method always used for tasks
*
* @param string|null $name The name of the plugin to bake.
* @return void
* @return null|bool
*/
public function main($name = null)
{
Expand Down Expand Up @@ -88,7 +88,7 @@ public function main($name = null)
* Also update the autoloader and the root composer.json file if it can be found
*
* @param string $plugin Name of the plugin in CamelCased format
* @return bool
* @return bool|void
*/
public function bake($plugin)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Shell/Task/SimpleBakeTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function templateData()
* Execute method
*
* @param string|null $name The name of the object to bake.
* @return void
* @return void|int
*/
public function main($name = null)
{
Expand Down Expand Up @@ -111,7 +111,7 @@ public function bake($name)
* Generate a test case.
*
* @param string $className The class to bake a test for.
* @return string|bool
* @return void|string|bool
*/
public function bakeTest($className)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/Task/TemplateTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public function bakeActions(array $actions, $vars)
/**
* handle creation of baking a custom action view file
*
* @return void
* @return void|null
*/
public function customAction()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/Task/TestTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class TestTask extends BakeTask
*
* @param string|null $type Class type.
* @param string|null $name Name.
* @return void
* @return void|array
*/
public function main($type = null, $name = null)
{
Expand Down

0 comments on commit c26e93e

Please sign in to comment.