mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Fix PHPDoc comments project-wide
This commit is contained in:
parent
6077aa5847
commit
3282ce5389
113 changed files with 1703 additions and 795 deletions
|
@ -60,6 +60,7 @@ class Proxy
|
|||
* @param string $size One of the ProxyUtils::SIZE_* constants
|
||||
*
|
||||
* @return string The proxyfied URL or relative path
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function proxifyUrl($url, $writemode = false, $size = '')
|
||||
{
|
||||
|
@ -138,6 +139,7 @@ class Proxy
|
|||
* @param string $html Un-proxified HTML code
|
||||
*
|
||||
* @return string Proxified HTML code
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function proxifyHtml($html)
|
||||
{
|
||||
|
@ -151,6 +153,7 @@ class Proxy
|
|||
*
|
||||
* @param string $url
|
||||
* @return boolean
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
private static function isLocalImage($url)
|
||||
{
|
||||
|
@ -190,6 +193,7 @@ class Proxy
|
|||
*
|
||||
* @param array $matches Matches from preg_replace_callback()
|
||||
* @return string Proxified HTML image tag
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
private static function replaceUrl(array $matches)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue