From f3e35fc3497d21e7c15f6131de946e25795bc702 Mon Sep 17 00:00:00 2001 From: Brian Porter Date: Mon, 3 Oct 2016 10:33:36 -0500 Subject: [PATCH] Correct code sniffs. Make the sniffer :smile:. --- src/Shell/ConfigReadShell.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Shell/ConfigReadShell.php b/src/Shell/ConfigReadShell.php index 53200c0..277428b 100644 --- a/src/Shell/ConfigReadShell.php +++ b/src/Shell/ConfigReadShell.php @@ -326,6 +326,7 @@ protected function iterateOnKey($key, $val) { // Base case. if (!is_array($val)) { $this->printVal($key, $val); + return; } @@ -407,6 +408,7 @@ public function getOptionParser() { ->epilog( __('Provide the Key.name(s) to fetch from Configure::read() as arguments. Multiple keys may be specified, separated by spaces.') ); + return $parser; } }