Skip to content
This repository
Browse code

Fix whitespace errors.

  • Loading branch information...
commit c13ed3366b7e4abbcbcf6b79127a180c87a342ac 1 parent 5081be1
Mark Story authored September 13, 2012
2  lib/Cake/Utility/ClassRegistry.php
@@ -165,7 +165,7 @@ public static function init($class, $strict = false) {
165 165
 						$instance = $reflection->newInstance();
166 166
 					}
167 167
 					if ($strict && !$instance instanceof Model) {
168  
-						$instance =  null;
  168
+						$instance = null;
169 169
 					}
170 170
 				}
171 171
 				if (!isset($instance)) {
6  lib/Cake/Utility/Folder.php
@@ -44,7 +44,7 @@ class Folder {
44 44
  * @constant SKIP
45 45
  */
46 46
 	const SKIP = 'skip';
47  
-	
  47
+
48 48
 /**
49 49
  * Path to Folder.
50 50
  *
@@ -658,7 +658,7 @@ public function copy($options = array()) {
658 658
 			while (($item = readdir($handle)) !== false) {
659 659
 				$to = Folder::addPathElement($toDir, $item);
660 660
 				if (($options['scheme'] != Folder::SKIP || !is_dir($to)) && !in_array($item, $exceptions)) {
661  
-					$from = Folder::addPathElement($fromDir, $item);				
  661
+					$from = Folder::addPathElement($fromDir, $item);
662 662
 					if (is_file($from)) {
663 663
 						if (copy($from, $to)) {
664 664
 							chmod($to, intval($mode, 8));
@@ -668,7 +668,7 @@ public function copy($options = array()) {
668 668
 							$this->_errors[] = __d('cake_dev', '%s NOT copied to %s', $from, $to);
669 669
 						}
670 670
 					}
671  
-					
  671
+
672 672
 					if (is_dir($from) && file_exists($to) && $options['scheme'] == Folder::OVERWRITE) {
673 673
 						$this->delete($to);
674 674
 					}

0 notes on commit c13ed33

Please sign in to comment.
Something went wrong with that request. Please try again.