Skip to content

Commit

Permalink
return HandlerStack for BC
Browse files Browse the repository at this point in the history
  • Loading branch information
k0ka committed Jan 18, 2024
1 parent e351554 commit 2b862a7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Common/Transport/HandlerStack.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace OpenStack\Common\Transport;

/**
* @deprecated use \OpenStack\Common\Transport\HandlerStackFactory instead
*/
class HandlerStack
{
public static function create(callable $handler = null): \GuzzleHttp\HandlerStack
{
return HandlerStackFactory::create($handler);
}
}

0 comments on commit 2b862a7

Please sign in to comment.