From 99cbfcac783948e4c022c7e83fb1ccae5431bf92 Mon Sep 17 00:00:00 2001 From: flashwave Date: Thu, 24 Aug 2023 23:19:22 +0000 Subject: [PATCH] Documentation adjustment. --- composer.json | 1 + composer.lock | 14 ++++++++------ src/SasaeContext.php | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index f4bc89c..e10e970 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,7 @@ "name": "flashwave/sasae", "description": "A wrapper for Twig with added common functionality.", "type": "library", + "homepage": "https://railgun.sh/sasae", "license": "bsd-3-clause-clear", "minimum-stability": "dev", "prefer-stable": true, diff --git a/composer.lock b/composer.lock index 9f488d7..d929f9b 100644 --- a/composer.lock +++ b/composer.lock @@ -980,16 +980,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.31", + "version": "1.10.32", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "c0eb159b598e2b637cbd52840e3d08f28d25dd47" + "reference": "c47e47d3ab03137c0e121e77c4d2cb58672f6d44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c0eb159b598e2b637cbd52840e3d08f28d25dd47", - "reference": "c0eb159b598e2b637cbd52840e3d08f28d25dd47", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c47e47d3ab03137c0e121e77c4d2cb58672f6d44", + "reference": "c47e47d3ab03137c0e121e77c4d2cb58672f6d44", "shasum": "" }, "require": { @@ -1038,7 +1038,7 @@ "type": "tidelift" } ], - "time": "2023-08-24T14:26:09+00:00" + "time": "2023-08-24T21:54:50+00:00" }, { "name": "phpunit/php-code-coverage", @@ -2426,7 +2426,9 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": { + "flashwave/index": 20 + }, "prefer-stable": true, "prefer-lowest": false, "platform": { diff --git a/src/SasaeContext.php b/src/SasaeContext.php index 42f30a0..1ab2338 100644 --- a/src/SasaeContext.php +++ b/src/SasaeContext.php @@ -70,7 +70,7 @@ class SasaeContext implements Stringable { /** * Renders the template to a string, taking additional variables that are not commit to local set. * - * @param ?array $vars Additional local variables, nullable to avoid additional function calls. + * @param array|null $vars Additional local variables, nullable to avoid additional function calls. * @return string Rendered template. */ public function render(?array $vars = null): string {