Open bestmomo opened 3 months ago
I just installed package and complement for AI powered solution. When I create an issue to test it I get :
I had to change the links function like this to make it work for me:
public function links(): array { $rawText = Str::finish($this->rawText, 'ENDLINKS'); $textLinks = $this->between('LINKS', 'ENDLINKS', $rawText); $textLinks = explode(PHP_EOL, $textLinks); $links = []; foreach ($textLinks as $textLink) { $textLink = str_replace('\\', '\\\\', $textLink); $textLink = str_replace('\\\\\\', '\\\\', $textLink); $decodedLink = json_decode($textLink, true); if ($decodedLink !== null) { $links[$decodedLink['title']] = $decodedLink['url']; } } return $links; }
When I install the package in my project and use it with AI powered
1.0
8.2.14
11.14
Windows
No response
I'd accept a PR that fixes this.
Isn't that already resolved by https://github.com/spatie/error-solutions/pull/9?
What happened?
I just installed package and complement for AI powered solution. When I create an issue to test it I get :
I had to change the links function like this to make it work for me:
How to reproduce the bug
When I install the package in my project and use it with AI powered
Package Version
1.0
PHP Version
8.2.14
Laravel Version
11.14
Which operating systems does with happen with?
Windows
Notes
No response