mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-04-20 07:21:57 +02:00
Enhancement: Raise error level from 6 to 5 (#2082)
* Enhancement: Raise error level from 6 to 5 * Fix: DocBlock
This commit is contained in:
parent
69159436a3
commit
5c9b591995
@ -5,7 +5,7 @@
|
||||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
||||
cacheDirectory=".build/psalm"
|
||||
errorBaseline="psalm-baseline.xml"
|
||||
errorLevel="6"
|
||||
errorLevel="5"
|
||||
resolveFromConfigFile="true"
|
||||
totallyTyped="false"
|
||||
>
|
||||
|
@ -49,7 +49,7 @@ class Factory
|
||||
/**
|
||||
* @param string $provider
|
||||
* @param string $locale
|
||||
* @return string
|
||||
* @return string|null
|
||||
*/
|
||||
protected static function findProviderClassname($provider, $locale = '')
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ class Name
|
||||
/**
|
||||
* @param string $name
|
||||
* @param int|null $size Length of field, if known
|
||||
* @return callable
|
||||
* @return callable|null
|
||||
*/
|
||||
public function guessFormat($name, $size = null)
|
||||
{
|
||||
|
@ -568,7 +568,7 @@ class File extends Base
|
||||
* @param string $sourceDirectory The directory to look for random file taking
|
||||
* @param string $targetDirectory
|
||||
* @param boolean $fullPath Whether to have the full path or just the filename
|
||||
* @return string
|
||||
* @return string|false
|
||||
*/
|
||||
public static function file($sourceDirectory = '/tmp', $targetDirectory = '/tmp', $fullPath = true)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user