Skip to content

Conversation

janbarasek
Copy link
Contributor

Bugfix https://phpstan.org/r/cd56be9e-06f0-4474-98ce-360bb208a197

Sample:

<?php declare(strict_types = 1);

class HelloWorld
{
	/**
	* @return non-empty-string
	 */
	public function getHash(string $foo): string
	{
		return md5($foo);
	}
}

@ondrejmirtes ondrejmirtes merged commit 4a928f8 into phpstan:master Feb 2, 2022
@ondrejmirtes
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants