File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments