for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CrudSys\OAuth2\Client\Helper;
class Helper
{
/**
* isEmptyOrNull
* Verify is a string is Empty or Null
*
* @param [mixed] $value
[mixed]
0
* @return boolean
*/
public static function isEmptyOrNull($value): bool
return is_null($value) || empty($value) || '' === $value;
}