FriendsOfSulu / SuluImportExportBundle

Simple Import/Export Bundle for Sulu 2 CMS
MIT License
13 stars 6 forks source link

Commands have to return an integer value #7

Closed stollr closed 1 year ago

stollr commented 1 year ago

Since symfony 4.4 it is deprecated to not return an integer value from a command's execute method. Since symfony 5.0 not returning an integer raises a TypeError.

This change adds a return 0; at the end of the two commands.

If you like this PR I'd be happy if you labeled it with hacktoberfest-accepted. Thanks in advance.

TheCadien commented 1 year ago

Thanks for the attention change and the Pull Request.