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.
2 parents 4212330 + 0db19de commit 725af21Copy full SHA for 725af21
test/test-suite.php
@@ -21,15 +21,15 @@
21
$Git_Tests = array(
22
23
'Git' => function() {
24
- $return = array(0, '');
+ $return = null;
25
$repo = new GitRepo();
26
$found = $repo->test_git();
27
if ($found) {
28
- return array(0, "Git was located and tested successfully");
+ $return = array(0, "Git was located and tested successfully");
29
} else {
30
- return array(1, "Git could not be found at the default location");
+ $return = array(1, "Git could not be found at the default location");
31
}
32
-
+ return $return;
33
},
34
35
'Git::create()' => function() {
0 commit comments