Skip to content

Commit

Permalink
Fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Jan 26, 2025
1 parent b34de19 commit 447d8d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<issueHandlers>
<UndefinedMagicMethod errorLevel="suppress" />
<MissingTemplateParam errorLevel="suppress" />
<InvalidTemplateParam errorLevel="suppress" />
<UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="Laravel\Octane\Events\RequestReceived" />
Expand Down
5 changes: 4 additions & 1 deletion src/Support/Testing/DynamicTestScreen.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ public function __call(string $name, mixed $arguments)
*/
public function from(string $url): self
{
$this->http->getApplication()['session']->setPreviousUrl($url);
/** @var \Illuminate\Session\SessionManager $session */
$session = $this->http->getApplication()->get('session');

$session->setPreviousUrl($url);

return $this;
}
Expand Down

0 comments on commit 447d8d2

Please sign in to comment.