Skip to content

Commit 4e1b7db

Browse files
committed
Clean up docblocks.
1 parent 4a0621b commit 4e1b7db

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ToolkitApi/ToolkitServiceXML.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ public function diagnosticsXmlIn($info = 'joblog', $jobName = '', $jobUser = '',
281281
}
282282

283283
/**
284+
*
284285
* @param $xml
286+
* @return array
285287
*/
286288
public function parseDiagnosticsXml($xml)
287289
{
@@ -300,7 +302,7 @@ public function parseDiagnosticsXml($xml)
300302

301303
$tempJobInfo = (array) $diag->jobinfo;
302304
// ensure that all values are strings. Blanks might have remained Simple XML Objects.
303-
foreach ($tempJobInfo as $name=>$value) {
305+
foreach ($tempJobInfo as $name => $value) {
304306
$info['jobinfo'][$name] = (string) $value;
305307
}
306308
}
@@ -875,10 +877,9 @@ public function getCommandXmlInPase($cmd)
875877
}
876878

877879
/**
878-
* $cmd can be a string or array of multiple commands
879880
* It's more efficient to run multiple commands with one XMLSERVICE call than to do many calls
880881
*
881-
* @param $cmd
882+
* @param array $cmd string will be turned into an array
882883
* @param string $exec
883884
* @return string
884885
*/

0 commit comments

Comments
 (0)