Keep misspelled name in 1.1.X to prevent BC

This commit is contained in:
reasno 2019-12-07 20:35:53 +08:00
parent 21676ef24e
commit 6f7ac1fe7b
2 changed files with 21 additions and 3 deletions

View File

@ -28,9 +28,6 @@ class HttpClientFactory implements ClientFactory
$this->guzzleClientFactory = $guzzleClientFactory;
}
/**
* @return callable
*/
public function build(array $options): callable
{
return function ($payload) use ($options) {

View File

@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://doc.hyperf.io
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
namespace Hyperf\Tracer\Middleware;
/**
* Classname misspelled. Please use TraceMiddleware.
* @deprecated
*/
class TraceMiddeware extends TraceMiddleware
{
}