Procházet zdrojové kódy

ZF-10656: Fix bad example in reflection method docs

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23305 44c647ce-9c0f-0410-b52a-842ac1e357ba
matthew před 15 roky
rodič
revize
393c515ee2

+ 1 - 5
documentation/manual/en/module_specs/Zend_Reflection-Examples.xml

@@ -53,11 +53,7 @@ $file = $r->getDeclaringFile();
         <programlisting language="php"><![CDATA[
         <programlisting language="php"><![CDATA[
 $r = new Zend_Reflection_Method($class, $name);
 $r = new Zend_Reflection_Method($class, $name);
 
 
-printf(
-"The method '%s' has a return type of %s",
-    $r->getName(),
-    $r->getReturn()
-);
+printf( "Method '%s':\n", $r->getName());
 
 
 foreach ($r->getParameters() as $key => $param) {
 foreach ($r->getParameters() as $key => $param) {
     printf(
     printf(