Add space between if and ‘(‘

[MAILPOET-1791]
This commit is contained in:
Ján Mikláš
2019-02-13 13:08:49 +01:00
committed by M. Shull
parent a935b091d3
commit 3ee58aea10
333 changed files with 4001 additions and 4001 deletions

View File

@@ -1,7 +1,7 @@
<?php
namespace MailPoet\Models;
if(!defined('ABSPATH')) exit;
if (!defined('ABSPATH')) exit;
class StatisticsForms extends Model {
public static $_table = MP_STATISTICS_FORMS_TABLE;
@@ -11,13 +11,13 @@ class StatisticsForms extends Model {
}
public static function record($form_id, $subscriber_id) {
if($form_id > 0 && $subscriber_id > 0) {
if ($form_id > 0 && $subscriber_id > 0) {
// check if we already have a record for today
$record = self::where('form_id', $form_id)
->where('subscriber_id', $subscriber_id)
->findOne();
if($record === false) {
if ($record === false) {
// create a new entry
$record = self::create();
$record->hydrate(array(