Replace deprecated defaults() calls by ?? and ?: operators in src/Module/
This commit is contained in:
		
					parent
					
						
							
								8998926e5b
							
						
					
				
			
			
				commit
				
					
						f59ea2af55
					
				
			
		
					 40 changed files with 115 additions and 94 deletions
				
			
		|  | @ -29,7 +29,7 @@ class Following extends BaseModule | |||
| 			throw new \Friendica\Network\HTTPException\NotFoundException(); | ||||
| 		} | ||||
| 
 | ||||
| 		$page = defaults($_REQUEST, 'page', null); | ||||
| 		$page = $_REQUEST['page'] ?? null; | ||||
| 
 | ||||
| 		$Following = ActivityPub\Transmitter::getFollowing($owner, $page); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue