Skip to content

Commit a7b3fde

Browse files
author
Steve Edson
committed
updated argument naming, doc block and php 5.3 compatibility
1 parent 89350d9 commit a7b3fde

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/SteveEdson/BitBar.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ public function setTerminal($boolean) {
122122
return $this;
123123
}
124124

125+
125126
/**
126-
* @param string text
127-
* @param array $params
128-
*
127+
* @param string $command Command to run when selected
128+
* @param array $params specify arguments to the script
129129
* @return $this
130130
*/
131-
public function setBash( $text, array $params = [] )
131+
public function setBash($command, array $params = array())
132132
{
133-
$this->bash = $text;
133+
$this->bash = $command;
134134
$this->params = $params;
135135
return $this;
136136
}

0 commit comments

Comments
 (0)