Skip to content

Commit

Permalink
Merge pull request #214 from laminas/2.30.x-merge-up-into-3.0.x_Ako44Mwc
Browse files Browse the repository at this point in the history
Merge release 2.30.0 into 3.0.x
  • Loading branch information
gsteel authored Aug 17, 2023
2 parents 320f867 + 877d77b commit 6f4a849
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 55 deletions.
86 changes: 43 additions & 43 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.13.1@086b94371304750d1c673315321a55d15fc59015">
<files psalm-version="5.14.0@b2942cefed8443002bd3f245c4cd0a54193716d8">
<file src="bin/templatemap_generator.php">
<MissingParamType>
<code>$templatePath</code>
Expand Down Expand Up @@ -158,9 +158,6 @@
<code>$email</code>
<code>$emailIsHashed</code>
</MissingConstructor>
<MixedArgumentTypeCoercion>
<code>$key</code>
</MixedArgumentTypeCoercion>
<MixedAssignment>
<code>$value</code>
</MixedAssignment>
Expand Down
16 changes: 8 additions & 8 deletions src/Helper/Gravatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Gravatar extends AbstractHtmlElement
/**
* Attributes for HTML image tag
*
* @var array
* @var array<string, mixed>
*/
protected $attributes;

Expand All @@ -73,7 +73,7 @@ class Gravatar extends AbstractHtmlElement
/**
* Options
*
* @var array
* @var array<string, mixed>
*/
protected $options = [
'img_size' => 80,
Expand All @@ -94,9 +94,9 @@ class Gravatar extends AbstractHtmlElement
* @see http://pl.gravatar.com/site/implement/url
* @see http://pl.gravatar.com/site/implement/url More information about gravatar's service.
*
* @param string|null $email Email address.
* @param null|array $options Options
* @param array $attributes Attributes for image tag (title, alt etc.)
* @param string|null $email Email address.
* @param array<string, mixed> $options Options
* @param array<string, mixed> $attributes Attributes for image tag (title, alt etc.)
* @return Gravatar
*/
public function __invoke($email = "", $options = [], $attributes = [])
Expand Down Expand Up @@ -127,7 +127,7 @@ public function __toString()
/**
* Configure state
*
* @param array $options
* @param array<string, mixed> $options
* @return Gravatar
*/
public function setOptions(array $options)
Expand Down Expand Up @@ -186,7 +186,7 @@ public function getImgTag()
* This attribute is overwritten in protected method setSrcAttribForImg().
* This method(_setSrcAttribForImg) is called in public method getImgTag().
*
* @param array $attributes
* @param array<string, mixed> $attributes
* @return Gravatar
*/
public function setAttributes(array $attributes)
Expand All @@ -203,7 +203,7 @@ public function setAttributes(array $attributes)
* protected method setSrcAttribForImg(). And finally your get other src
* value!
*
* @return array
* @return array<string, mixed>
*/
public function getAttributes()
{
Expand Down

0 comments on commit 6f4a849

Please sign in to comment.