From 840a68961c2b28172ba84d7dd3f955efbe3ea399 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Tue, 7 Oct 2014 12:10:46 -0400 Subject: [PATCH] Cleaned up some double ;; --- src/String.php | 2 +- tests/Pickles/ModelTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/String.php b/src/String.php index 518b308..a66d463 100644 --- a/src/String.php +++ b/src/String.php @@ -62,7 +62,7 @@ class String $string = strtolower(trim($string)); $string = preg_replace('/[^a-z0-9-]/', '-', $string); $string = preg_replace('/-+/', '-', $string); - return trim($string, '-');; + return trim($string, '-'); } // }}} diff --git a/tests/Pickles/ModelTest.php b/tests/Pickles/ModelTest.php index dbf6bcf..dd0fd64 100644 --- a/tests/Pickles/ModelTest.php +++ b/tests/Pickles/ModelTest.php @@ -483,7 +483,7 @@ class ModelTest extends PHPUnit_Framework_TestCase public function testCommitIncrement() { $model = new MockModelWithoutColumns(1); - $model->record['field1'] = 100;; + $model->record['field1'] = 100; $model->commit(); $model = new MockModelWithoutColumns(1); $model->record['field1'] = '++';