Skip to content

Commit

Permalink
return HandlerStack for BC (#391)
Browse files Browse the repository at this point in the history
* return HandlerStack for Backward Compatibility - #382
  • Loading branch information
k0ka authored Jan 18, 2024
1 parent e351554 commit f3b3c6f
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 f3b3c6f

Please sign in to comment.