Skip to content

Commit

Permalink
Merge pull request #269 from level-level/fix/clarkson-term-taxonomy
Browse files Browse the repository at this point in the history
fix clarkson term taxonomy typing
  • Loading branch information
NielsdeBlaauw authored Mar 28, 2024
2 parents 59f9178 + d633df7 commit 98fe894
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v1

- name: Install PHP
uses: shivammathur/setup-php@1.3.7
- name: Install PHP and enable required extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: simplexml

- name: Debugging
run: |
Expand All @@ -26,7 +27,7 @@ jobs:
- name: Install dependencies
run: |
composer install --prefer-dist --no-suggest
composer install --prefer-dist
- name: Run tests
run: composer run test
2 changes: 1 addition & 1 deletion wordpress-objects/Clarkson_Term.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Clarkson_Term {
/**
* Clarkson_Term provides extra functions to retrieve term and taxonomy data.
*
* @var null
* @var null|string
*/
protected static $taxonomy = null;

Expand Down

0 comments on commit 98fe894

Please sign in to comment.