Skip to content

Commit a9d274b

Browse files
committed
chore: linter compliances met
1 parent 4531502 commit a9d274b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

access-functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ function woographql_get_session_token() {
299299
/**
300300
* Creates WPGraphQL for WooCommerce session transfer nonces.
301301
*
302-
* @param string|int $action Nonce name.
302+
* @param string|-1 $action Nonce name.
303303
*
304304
* @return string The nonce.
305305
*/
@@ -317,7 +317,7 @@ function woographql_create_nonce( $action = -1 ) {
317317
* Validate WPGraphQL for WooCommerce session transfer nonces.
318318
*
319319
* @param string $nonce Nonce to validated.
320-
* @param integer|string $action Nonce name.
320+
* @param string|-1 $action Nonce name.
321321
*
322322
* @return false|int
323323
*/

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"dDestroy": "docker compose down -v",
7676
"lint": "vendor/bin/phpcs -vp .",
7777
"fix": "vendor/bin/phpcbf -vp .",
78-
"stan": "phpstan analyze --ansi --memory-limit=1G",
78+
"stan": "phpstan analyze --ansi --memory-limit=4G",
7979
"strauss": [
8080
"test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.14.0/strauss.phar",
8181
"@php bin/strauss.phar",

0 commit comments

Comments
 (0)