for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace EasyWeChat\Payment\Notify;
use Symfony\Component\HttpFoundation\Response;
class Paid extends Handler
{
/**
* @param callable $callback
* @return \Symfony\Component\HttpFoundation\Response
public function handle(callable $callback): Response
$this->strict(
$callback->__invoke($this->getMessage(), [$this, 'fail'])
__invoke
$callback
callable
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.
);
return $this->toResponse();
}
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.