import v2.0.0.0_RC3 | 2012-07-01

https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

View File

@ -16,7 +16,7 @@
* @package Zend_Reflection
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Function.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: Function.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -51,7 +51,7 @@ class Zend_Reflection_Function extends ReflectionFunction
}
return $instance;
}
/**
* Get start line (position) of function
*
@ -65,10 +65,10 @@ class Zend_Reflection_Function extends ReflectionFunction
return $this->getDocblock()->getStartLine();
}
}
return parent::getStartLine();
}
/**
* Get contents of function
*
@ -77,16 +77,16 @@ class Zend_Reflection_Function extends ReflectionFunction
*/
public function getContents($includeDocblock = true)
{
return implode("\n",
return implode("\n",
array_splice(
file($this->getFileName()),
$this->getStartLine($includeDocblock),
($this->getEndLine() - $this->getStartLine()),
$this->getStartLine($includeDocblock),
($this->getEndLine() - $this->getStartLine()),
true
)
);
}
/**
* Get function parameters
*
@ -109,7 +109,7 @@ class Zend_Reflection_Function extends ReflectionFunction
unset($phpReflections);
return $zendReflections;
}
/**
* Get return type tag
*