This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file contains the Catalyst\OrderLine\Status class. | |
* | |
* PHP Version 7.1 | |
* | |
* @category Catalyst | |
* @package Catalyst | |
* @subpackage OrderLine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace RWC\Math; | |
class Divider | |
{ | |
public function divide(float $divided, float $divisor) : float | |
{ | |
if($divisor == 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php /** @noinspection SpellCheckingInspection */ | |
/** | |
* This file contains the WordPress code for rendering a Google Reviews badge. | |
* | |
* Usage: | |
* | |
* 1. Create a Google API Console account if you have not already done so. | |
* 2. Register for the Google Places API. | |
* 3. Create an API key. | |
* 4. Ensure that the API key can be used from wherever this script will execute |