Skip to content

Commit

Permalink
diff
Browse files Browse the repository at this point in the history
  • Loading branch information
schpill committed Jun 10, 2017
1 parent dfd1c3d commit 1d4d802
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ public static function make($user = null, $ns = 'web')

public static function is($ns = 'web')
{
'octodummy' !== static::get('octodummy', $ns);
return 'octodummy' !== static::get('octodummy', $ns);
}

public static function guest($ns = 'web')
{
'octodummy' === static::get('octodummy', $ns);
return 'octodummy' === static::get('octodummy', $ns);
}

public static function login($user, $ns = 'web')
Expand Down Expand Up @@ -78,7 +78,7 @@ public static function id($ns = 'web')

public static function email($ns = 'web')
{
$user = static::get(null, $ns);;
$user = static::get(null, $ns);

if ($user) {
return isAke($user, 'email', null);
Expand All @@ -89,7 +89,7 @@ public static function email($ns = 'web')

public static function user($model = true, $ns = 'web', $em = 'user')
{
$user = static::get(null, $ns);;
$user = static::get(null, $ns);

if ($user && $model) {
return em($em)->find((int) $user['id']);
Expand Down
2 changes: 1 addition & 1 deletion lib/collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function except($keys)

public function filter(callable $callback)
{
return $this->new(array_filter($this->items, $callback));
return new static(array_filter($this->items, $callback));
}

public function whereLoose($key, $value)
Expand Down
2 changes: 1 addition & 1 deletion lib/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -5226,7 +5226,7 @@ function createModel(Octalia $model, array $fields = [])
}
}

$model->create($row)->save();
$model->store($row);
$model->forget();

return true;
Expand Down
2 changes: 1 addition & 1 deletion lib/swift/classes/Swift/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function createMessage($service = 'message')
* The return value is the number of recipients who were accepted for
* delivery.
*
* @param Swift_Mime_Message $message
* @param Swift_Mime_Message|Swift_Mime_Mimepart $message
* @param array $failedRecipients An array of failures by-reference
*
* @return integer
Expand Down
2 changes: 1 addition & 1 deletion lib/swift/classes/Swift/Mime/SimpleMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function addFrom($address, $name = null)
* If $name is passed and the first parameter is a string, this name will be
* associated with the address.
*
* @param string $addresses
* @param string|array $addresses
* @param string $name optional
*
* @return Swift_Mime_SimpleMessage
Expand Down

0 comments on commit 1d4d802

Please sign in to comment.