Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhpStan: L7 update for Mage_Sendfriend #4187

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/code/core/Mage/Sendfriend/Model/Resource/Sendfriend.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
*/
class Mage_Sendfriend_Model_Resource_Sendfriend extends Mage_Core_Model_Resource_Db_Abstract
{
/**
* @return void
*/
protected function _construct()
{
$this->_init('sendfriend/sendfriend', 'log_id');
Expand Down
4 changes: 2 additions & 2 deletions app/code/core/Mage/Sendfriend/Model/Sendfriend.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function getCookie()
/**
* Set Visitor Remote Address
*
* @param int $ipAddr the IP address on Long Format
* @param string|false $ipAddr the IP address on Long Format
* @return $this
*/
public function setRemoteAddr($ipAddr)
Expand All @@ -255,7 +255,7 @@ public function getRemoteAddr()
/**
* Set Website Id
*
* @param int $id - website id
* @param int|string|null $id - website id
* @return $this
*/
public function setWebsiteId($id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ protected function _initSendToFriendModel()
/**
* Show Send to a Friend Form
*
* @return void
*/
public function sendAction()
{
Expand Down Expand Up @@ -132,6 +133,7 @@ public function sendAction()
/**
* Send Email Post Action
*
* @return $this|void
*/
public function sendmailAction()
{
Expand Down
Loading