Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
remove duplicate lambdautils call
Browse files Browse the repository at this point in the history
  • Loading branch information
perryflynn committed Oct 3, 2017
1 parent c682859 commit 97dc706
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/PerrysLambda/ArrayBase.php
Expand Up @@ -741,7 +741,7 @@ public function intersect(ArrayBase $comparedata)
}

/**
* Diffrence to another object
* Difference to another object
* @param \PerrysLambda\ArrayBase $comparedata
* @return \PerrysLambda\ArrayBase
*/
Expand Down Expand Up @@ -1066,7 +1066,6 @@ public function skip($offset)
*/
public function order($order)
{
$order = LambdaUtils::toSelectCallable($order);
return Sortable::startOrder($this, $order);
}

Expand All @@ -1077,7 +1076,6 @@ public function order($order)
*/
public function orderDesc($order)
{
$order = LambdaUtils::toSelectCallable($order);
return Sortable::startOrderDesc($this, $order);
}

Expand Down
2 changes: 1 addition & 1 deletion src/PerrysLambda/Sortable.php
Expand Up @@ -133,7 +133,7 @@ protected function setDefaultComparator()
}

/**
* Sort and get the arraylist
* Sort and get the result
* @return \PerrysLambda\ArrayList
*/
public function toList()
Expand Down

0 comments on commit 97dc706

Please sign in to comment.