Revision: 1238
Author: christian.wuerker
Date: Tue Jun 30 18:40:06 2015 UTC
Log: Fix syntax error.
https://code.google.com/p/cmclasses/source/detail?r=1238
Modified:
/trunk/src/UI/HTML/Tag.php
=======================================
--- /trunk/src/UI/HTML/Tag.php Tue Jun 30 17:57:07 2015 UTC
+++ /trunk/src/UI/HTML/Tag.php Tue Jun 30 18:40:06 2015 UTC
@@ -129,7 +129,7 @@
$content = self::flattenArray( $content );
if( is_numeric( $content ) )
$content = (string) $content;
- if( is_object( $content ){
+ if( is_object( $content ) ){
if( !method_exists( $content, '__toString' ) ){ // content
is not a renderable object
$message = 'Object of class "'.get_class( $content ).'" cannot be
rendered'; // prepare message about not renderable object
throw new InvalidArgumentException( $message ); // break
with error message