You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alert function with image last argument must be nullable and Documentation needs to be modified.
Alert::image() accept 6 argument and last argument is optinal. but in RealRashid\SweetAlert\Toaster class the six argument not considered as null. It produces an error if we proceed according to the documentation. This function should be modified as follows: public function image($title, $text,$imageUrl, $imageWidth, $imageHeight, $imageAlt= null) { ... }
The text was updated successfully, but these errors were encountered:
On Fri, Feb 25, 2022, 2:26 PM saeed410 ***@***.***> wrote:
- Package Version: 5.0
Description:
Alert function with image last argument must be nullable and Documentation
needs to be modified.
Alert::image() accept 6 argument and last argument is optinal. but in
RealRashid\SweetAlert\Toaster class the six argument not considered as
null. It produces an error if we proceed according to the documentation.
This function should be modified as follows:
public function image($title, $text,$imageUrl, $imageWidth, $imageHeight,
$imageAlt= null) { ... }
—
Reply to this email directly, view it on GitHub
<#134>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADXCPBO2AY4UVVOBR7LULR3U45DKXANCNFSM5PJX3GDA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Description:
Alert function with image last argument must be nullable and Documentation needs to be modified.
Alert::image() accept 6 argument and last argument is optinal. but in RealRashid\SweetAlert\Toaster class the six argument not considered as null. It produces an error if we proceed according to the documentation. This function should be modified as follows:
public function image($title, $text,$imageUrl, $imageWidth, $imageHeight, $imageAlt= null) { ... }
The text was updated successfully, but these errors were encountered: