We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b15b038 commit b8dec93Copy full SHA for b8dec93
php/commands/art.php
@@ -16,7 +16,7 @@ class Art_Command extends Terminus_Command {
16
*
17
*/
18
function __invoke( $args, $assoc_args ) {
19
- $artwork = array_shift($args) ?: array_keys($this->works, 0);
+ $artwork = array_shift($args) ?: key($this->works);
20
21
if (!empty($artwork) && array_key_exists($artwork, $this->works)){
22
echo Terminus::colorize("%g".base64_decode($this->works[$artwork])."%n")."\n";
0 commit comments