Skip to content

Commit

Permalink
Updated Veneer dependency and Stub
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wright <tom@inflatablecookie.com>
  • Loading branch information
betterthanclay committed Aug 21, 2024
1 parent f7f1ac0 commit 7cdbe21
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* Updated Veneer dependency and Stub

## v0.2.23 (2024-08-09)
* Added Veneer stub
* Removed unneeded LazyLoad binding attribute
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"decodelabs/glitch-support": "^0.4.4",
"decodelabs/singularity": "^0.2.2",
"decodelabs/slingshot": "^0.1.1",
"decodelabs/veneer": "^0.11.2",
"decodelabs/veneer": "^0.11.6",

"psr/container": "^2.0",
"psr/http-factory": "^1.0",
Expand Down
17 changes: 8 additions & 9 deletions stubs/DecodeLabs/Harvest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@
use DecodeLabs\Harvest\Response\Xml as Ref10;
use Psr\Http\Message\UriInterface as Ref11;
use DecodeLabs\Harvest\Response\Redirect as Ref12;
use Traversable as Ref13;
use Closure as Ref14;
use Psr\Http\Message\ServerRequestInterface as Ref15;
use DecodeLabs\Compass\Ip as Ref16;
use Closure as Ref13;
use Psr\Http\Message\ServerRequestInterface as Ref14;
use DecodeLabs\Compass\Ip as Ref15;

class Harvest implements Proxy
{
use ProxyTrait;

const VENEER = 'DecodeLabs\\Harvest';
const VENEER_TARGET = Inst::class;
const Veneer = 'DecodeLabs\\Harvest';
const VeneerTarget = Inst::class;

public static Inst $instance;

Expand Down Expand Up @@ -71,13 +70,13 @@ public static function xml(string $xml, int $status = 200, array $headers = []):
public static function redirect(Ref11|string $uri, int $status = 302, array $headers = []): Ref12 {
return static::$instance->redirect(...func_get_args());
}
public static function generator(Ref13|Ref14|array $iterator, int $status = 200, array $headers = []): Ref6 {
public static function generator(Ref13|iterable $iterator, int $status = 200, array $headers = []): Ref6 {
return static::$instance->generator(...func_get_args());
}
public static function liveGenerator(Ref13|Ref14|array $iterator, int $status = 200, array $headers = []): Ref6 {
public static function liveGenerator(Ref13|iterable $iterator, int $status = 200, array $headers = []): Ref6 {
return static::$instance->liveGenerator(...func_get_args());
}
public static function extractIpFromRequest(Ref15 $request): Ref16 {
public static function extractIpFromRequest(Ref14 $request): Ref15 {
return static::$instance->extractIpFromRequest(...func_get_args());
}
};

0 comments on commit 7cdbe21

Please sign in to comment.