Skip to content

Commit dae9137

Browse files
committed
Resolving build issues
1 parent a4a7396 commit dae9137

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/Docs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
- name: Commit & Push to Wiki
2828
run: |
2929
cd docs
30-
git checkout master
3130
git config user.email "actions@github.com"
3231
git config user.name "GitHub Actions - update documentation"
3332
git add *.md

src/ScripturNumArray.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ public function key()
226226
public function valid(): bool
227227
{
228228
$k = $this->key();
229+
if ($k === null) {
230+
$k = '';
231+
}
229232
return isset($this->container[$k]);
230233
}
231234

tests/ScripturNumProtectedTests.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class ScripturNumProtectedTests extends TestCase {
1313
public function invokeProtected($method, array $parameters = []) {
1414
$reflection = new ReflectionClass(ScripturNum::class);
1515
$method = $reflection->getMethod($method);
16-
$method->setAccessible(true);
1716
return $method->invokeArgs(null,$parameters);
1817
}
1918

0 commit comments

Comments
 (0)