Cleaned up some double ;;

This commit is contained in:
Josh Sherman 2014-10-07 12:10:46 -04:00
parent 1599319478
commit 840a68961c
2 changed files with 2 additions and 2 deletions

View file

@ -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, '-');
}
// }}}

View file

@ -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'] = '++';