Skip to content

Commit 7392ba6

Browse files
short descriptions was added
1 parent b2621a5 commit 7392ba6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

lib/internal/Magento/Framework/Communication/Config/Validator.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ public function __construct(
3838
}
3939

4040
/**
41+
* Validate response schema definition for topic
42+
*
4143
* @param string $responseSchema
4244
* @param string $topicName
4345
* @return void
@@ -65,6 +67,8 @@ public function validateResponseSchemaType($responseSchema, $topicName)
6567
}
6668

6769
/**
70+
* Validate request schema definition for topic
71+
*
6872
* @param string $requestSchema
6973
* @param string $topicName
7074
* @return void
@@ -92,6 +96,8 @@ public function validateRequestSchemaType($requestSchema, $topicName)
9296
}
9397

9498
/**
99+
* Validate service method specified in the definition of handler
100+
*
95101
* @param string $serviceName
96102
* @param string $methodName
97103
* @param string $handlerName

lib/internal/Magento/Framework/Test/Unit/Communication/Config/ValidatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22
/**
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
@@ -65,4 +65,4 @@ public function testValidateRequestSchemaType()
6565
$validator = new Validator($this->typeProcessor, $this->methodsMap);
6666
$validator->validateRequestSchemaType('123', '123');
6767
}
68-
}
68+
}

0 commit comments

Comments
 (0)