Skip to content

Commit 6bb5bf9

Browse files
committed
Merge pull request #40 from leonardolessa/patch-1
Fix a typo in RuntimeException
2 parents 218c871 + f784179 commit 6bb5bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/Behavior/UploadBehavior.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ public function getImagine(Model $model) {
671671
require APP . 'Vendor' . 'autoload.php';
672672
}
673673

674-
throw new RuntimeExpcetion('We could not autoload imagine, please set the PSR-0 autoload');
674+
throw new RuntimeException('We could not autoload imagine, please set the PSR-0 autoload');
675675
}
676676

677677
if (isset($this->config[$model->alias]['Attach.type']) && $this->config[$model->alias]['Attach.type'] == 'Imagick') {

0 commit comments

Comments
 (0)