Skip to content

Commit 3104439

Browse files
committed
remove debug
1 parent 825e7b0 commit 3104439

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/QrCodeReader.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ public function __construct($name, $attribute = null, $resource = null)
9595

9696
$resource = $resource ?? ResourceRelationshipGuesser::guessResource($name);
9797
if(class_exists($resource)) {
98-
\Debugbar::info("RELATION");
9998
$this->resourceClass = $resource;
10099
$this->resourceName = $resource::uriKey();
101100
$this->belongsToRelationship = $this->attribute;
@@ -115,8 +114,6 @@ public function resolve($resource, $attribute = null)
115114
{
116115
$value = null;
117116

118-
\Debugbar::info("HELLO");
119-
120117
if($this->relationship) {
121118
if ($resource->relationLoaded($this->attribute)) {
122119
$value = $resource->getRelation($this->attribute);
@@ -126,8 +123,6 @@ public function resolve($resource, $attribute = null)
126123
// bikin relation dari column yang disave
127124
// tidak boleh diganti karena akan digunakan untuk penyimpanan data
128125

129-
\Debugbar::info($this->attribute);
130-
131126
$index = strpos($this->attribute, '_id');
132127
if($index > 0) {
133128
$relationshipName = substr($this->attribute, 0, $index);

0 commit comments

Comments
 (0)