for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Zemit Framework.
*
* (c) Zemit Team <[email protected]>
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Zemit\Mvc\Model\Blameable;
trait BlameAt
{
public function getDateCallback(...$args): \Closure
return function () use ($args) {
return date(...$args);
$args
$format
date()
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
ignore-type
return date(/** @scrutinizer ignore-type */ ...$args);
};
}