<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Nette Framework forum : Using Nette Framework : Beginners : h4kuna/fio-nette – problem with Deprecated Return type</title>
<link>https://forum.nette.org/en</link>
<description>Nette Framework forum</description>
<language>en</language>
<docs>http://backend.userland.com/rss</docs>
<item>
	<title>h4kuna/fio-nette – problem with Deprecated Return type (Beginners)</title>
	<dc:creator>dakur</dc:creator>
	<link>https://forum.nette.org/en/35675#p222370</link>
	<guid isPermaLink="false">222370@http://forum.nette.org/en</guid>
	<description>&lt;p&gt;I don&apos;t use fio api client, but I had similar issue with some other api
client (gopay I think). There is &lt;a
href=&quot;https://github.com/cweagans/composer-patches&quot;&gt;composer-patches&lt;/a&gt; plugin
to composer which allows you to patch code in vendor folder. It&apos;s really useful,
especially for such cases.&lt;/p&gt;

&lt;p&gt;Edit: but I have to admit that generating such patch is not a trivial thing
if you&apos;re not experienced with git. I do it in a way that I clone the patching
repo to my dev machine, checkout used tag/branch, make needed changes and then
run &lt;code&gt;git diff &amp;gt; my.patch&lt;/code&gt;. I copy then the &lt;code&gt;my.patch&lt;/code&gt;
file to my project, rename it and add to composer patches.&lt;/p&gt;
</description>
	<pubDate>Tue, 10 Jan 2023 16:47:31 +0100</pubDate>
</item>
<item>
	<title>h4kuna/fio-nette – problem with Deprecated Return type (Beginners)</title>
	<dc:creator>thcom</dc:creator>
	<link>https://forum.nette.org/en/35675#p222316</link>
	<guid isPermaLink="false">222316@http://forum.nette.org/en</guid>
	<description>&lt;p&gt;hi i try create module to send money from our FIO account&lt;br&gt;
everything works, i only get warning&lt;/p&gt;

&lt;pre
class=&quot;language-php&quot;&gt;&lt;code&gt;&amp;lt;?php
Deprecated
Return type of h4kuna\Fio\Request\Pay\Payment\Property::current() should either be compatible with Iterator::current():
mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
?&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;i have php 8.1.13&lt;br&gt;
and nette 3&lt;/p&gt;

&lt;p&gt;which library do you use for FIO&lt;br&gt;
i try contributte/fio&lt;/p&gt;

&lt;p&gt;but there is only read function, no payment sending&lt;/p&gt;

&lt;p&gt;many thanks !&lt;/p&gt;
</description>
	<pubDate>Sun, 08 Jan 2023 20:10:08 +0100</pubDate>
</item>
</channel>
</rss>
