PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/google/google/gax/src/PathTemplate.php +5 -5 1.0.21.4.1 View file →
@@ -29,13 +29,13 @@
29 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 32 */
33 -namespace Dudlewebs\WPMCS\Google\ApiCore;
33 +namespace Dudlewebs\WPMCS\GCP\Google\ApiCore;
34 34
35 -use Dudlewebs\WPMCS\Google\ApiCore\ResourceTemplate\AbsoluteResourceTemplate;
36 -use Dudlewebs\WPMCS\Google\ApiCore\ResourceTemplate\RelativeResourceTemplate;
37 -use Dudlewebs\WPMCS\Google\ApiCore\ResourceTemplate\ResourceTemplateInterface;
35 +use Dudlewebs\WPMCS\GCP\Google\ApiCore\ResourceTemplate\AbsoluteResourceTemplate;
36 +use Dudlewebs\WPMCS\GCP\Google\ApiCore\ResourceTemplate\RelativeResourceTemplate;
37 +use Dudlewebs\WPMCS\GCP\Google\ApiCore\ResourceTemplate\ResourceTemplateInterface;
38 38 /**
39 39 * Represents a path template.
40 40 *
41 41 * Templates use the syntax of the API platform; see the protobuf of HttpRule for
@@ -51,9 +51,9 @@
51 51 *
52 52 * @param string $path A path template string
53 53 * @throws ValidationException When $path cannot be parsed into a valid PathTemplate
54 54 */
55 - public function __construct(string $path = null)
55 + public function __construct(?string $path = null)
56 56 {
57 57 if (empty($path)) {
58 58 throw new ValidationException('Cannot construct PathTemplate from empty string');
59 59 }